Fatal error: Uncaught mysqli_sql_exception: 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 '' at line 1 in /var/www/vhosts/theflow.bike/httpdocs/_include/funzioni.php:422
Stack trace:
#0 /var/www/vhosts/theflow.bike/httpdocs/_include/funzioni.php(422): mysqli_query()
#1 /var/www/vhosts/theflow.bike/httpdocs/_include/_punteggio.php(61): elenca_db2()
#2 /var/www/vhosts/theflow.bike/httpdocs/catalogue/orders.php(35): calcolaPunteggio()
#3 /var/www/vhosts/theflow.bike/httpdocs/_include/rewr.php(102): include('...')
#4 {main}
thrown in /var/www/vhosts/theflow.bike/httpdocs/_include/funzioni.php on line 422