Notice: Trying to access array offset on value of type null in /usr/home/incaturistica/www/route.php on line 13

Notice: Trying to access array offset on value of type null in /usr/home/incaturistica/www/route.php on line 13
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and categories = order by rand() limit 3' at line 1