Fatal error: Uncaught exception 'Exception' with message 'Error: 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 '-10,10' at line 1<br />Error No: 1064<br />SELECT * FROM oc2017_xl_article a LEFT JOIN oc2017_xl_article_description ad ON (a.article_id = ad.article_id) LEFT JOIN oc2017_xl_article_to_store a2s ON (a.article_id = a2s.article_id) WHERE NOT EXISTS (SELECT parent_id FROM oc2017_xl_article b WHERE b.parent_id = a.article_id) AND ad.language_id = '2' AND a2s.store_id = '0' AND a.status = '1' ORDER BY a.date_added DESC LIMIT -10,10' in /home/vlladim/biol-posuda.com.ua/www/system/library/db/mysqli.php:40
Stack trace:
#0 /home/vlladim/biol-posuda.com.ua/www/system/library/db.php(16): DB\MySQLi->query('SELECT * FROM o...', Array)
#1 /home/vlladim/biol-posuda.com.ua/www/catalog/model/catalog/article.php(50): DB->query('SELECT * FROM o...')
#2 [internal function]: ModelCatalogArticle->getLatestArticles(Array)
#3 /home/vlladim/biol-posu in /home/vlladim/biol-posuda.com.ua/www/system/library/db/mysqli.php on line 40