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