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 aiyootaID='65001' order by ranking' at line 1
Fatal error: Uncaught Error: Call to a member function Value() on null in /var/www/vhosts/holz-haus.de/httpdocs/cms/frontend/design_dbinc.php:24
Stack trace:
#0 /var/www/vhosts/holz-haus.de/httpdocs/cms/frontend/designshop_extra.php(16): include()
#1 {main}
thrown in /var/www/vhosts/holz-haus.de/httpdocs/cms/frontend/design_dbinc.php on line 24