Warning: Trying to access array offset on value of type null in /home/rpspbbwy/public_html/categoryList.php on line 39

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY priority ASC, updated ASC' at line 1 in /home/rpspbbwy/public_html/categoryList.php:40 Stack trace: #0 /home/rpspbbwy/public_html/categoryList.php(40): mysqli_query(Object(mysqli), 'SELECT title, c...') #1 {main} thrown in /home/rpspbbwy/public_html/categoryList.php on line 40