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 'limit 1' at line 1 in /home/sites/s2w_pj/build_pe23_o03_php8/common/classes/class.DbHandler.php:1681
Stack trace:
#0 /home/sites/s2w_pj/build_pe23_o03_php8/common/classes/class.DbHandler.php(1681): mysqli->query()
#1 /home/sites/s2w_pj/build_pe23_o03_php8/common/classes/class.TbHandler.php(550): DbHandler->selectFromCond()
#2 /home/sites/s2w_pj/build_pe23_o03_php8/common/classes/class.TbHandler.php(656): TbHandler->getArrayByCondition()
#3 /var/www/vhosts/sportsupporter.it/www/common/classes/class.z_Progetti.php(185): TbHandler->getFirstByCondition()
#4 /var/www/vhosts/sportsupporter.it/www/common/classes/class.z_Progetti.php(105): Progetto->loadPjData()
#5 /var/www/vhosts/sportsupporter.it/www/common/scheletons/s2w/contents/progetti/detail/progetti_detail.php(2): Progetto->__construct()
#6 /var/www/vhosts/sportsupporter.it/www/common/scheletons/s2w/tpl.home.php(31): include('...')
#7 /home/sites/s2w_pj/build_pe23_o03_php8/index.php(39): require('...')
#8 /home/sites/s2w_pj/ini/start.php(41): include_once('...')
#9 /var/www/vhosts/sportsupporter.it/www/index.php(2): include_once('...')
#10 {main}
thrown in /home/sites/s2w_pj/build_pe23_o03_php8/common/classes/class.DbHandler.php on line 1681