Fatal error: Uncaught exception 'DatabaseException' with message 'SQL query failed with error #1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SQL: SELECT id,nazwa, parent FROM cms_products_categories WHERE id=' in /home/shuecu/domains/kuppodreczniki.pl/public_html/libs/database.php:149
Stack trace:
#0 /home/shuecu/domains/kuppodreczniki.pl/public_html/components/shop/component.php(248): database->query('SELECT id,nazwa...')
#1 /home/shuecu/domains/kuppodreczniki.pl/public_html/include/CommonInclude.php(417): shop->GenerateHtml()
#2 /home/shuecu/domains/kuppodreczniki.pl/public_html/template/index.php(110): cmsLoadContent()
#3 /home/shuecu/domains/kuppodreczniki.pl/public_html/index.php(24): require_once('/home/shuecu/do...')
#4 {main}
thrown in /home/shuecu/domains/kuppodreczniki.pl/public_html/libs/database.php on line 149