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 'AND pcl.lang = "sk" AND pcl.is_public = 1 AND pc.date_trash is null
...' at line 5 in /data/1/9/1923708f-ef3e-46b3-a422-a611b91446c2/4ju.sk/web/core/DB.php:64
Stack trace:
#0 /data/1/9/1923708f-ef3e-46b3-a422-a611b91446c2/4ju.sk/web/core/DB.php(64): mysqli_query(Object(mysqli), 'SELECT pc.id, p...')
#1 /data/1/9/1923708f-ef3e-46b3-a422-a611b91446c2/4ju.sk/web/controllers/ProductsModule.php(303): DB::query('SELECT pc.id, p...')
#2 /data/1/9/1923708f-ef3e-46b3-a422-a611b91446c2/4ju.sk/web/controllers/Products.php(2120): ProductsModule->getSQL('getPublicCatego...', Array)
#3 /data/1/9/1923708f-ef3e-46b3-a422-a611b91446c2/4ju.sk/web/controllers/ProductsGrid.php(168): Products->getData('getPublicCatego...', Array)
#4 /data/1/9/1923708f-ef3e-46b3-a422-a611b91446c2/4ju.sk/web/controllers/ProductsGrid.php(7): ProductsGrid->render(Array)
#5 /data/1/9/1923708f-ef3e-46b3-a422-a611b91446c2/4ju.sk/web/core/Render.php(132): ProductsGrid->__construct()
#6 /data/1/9/1923708f-ef3e-46b3-a422-a611b91446c2/4ju.sk/web/core/PevaSoft.php(51): Render->__construct()
#7 /data/1/9/1923708f-ef3e-46b3-a422-a611b91446c2/4ju.sk/web/index.php(46): PevaSoft::register(Array)
#8 {main}
thrown in /data/1/9/1923708f-ef3e-46b3-a422-a611b91446c2/4ju.sk/web/core/DB.php on line 64