Заранее спасипотому что за Ваш ответ. И низкий Вам поклон если поможете
Код ошибкт
SyntaxError: JSON Parse error: Unrecognized token '<'
parsererror
<br />
<b>Fatal error</b>: Uncaught Exception: 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 'p
WHERE p.product_id IN (
SELECT
distinct product_id
FROM
`' at line 1<br />Error No: 1064<br />
DELETE FROM oc_journal3_product_sales p
WHERE p.product_id IN (
SELECT
distinct product_id
FROM
oc_order_product
WHERE
order_id = '12'
)
in /home/ka471155/autoprom.in.ua/www/system/library/db/mysqli.php:41
Stack trace:
#0 /home/ka471155/autoprom.in.ua/storage/modification/system/library/db.php(55): DB\MySQLi->query('\n\t\t\tDELETE FROM...')
#1 /home/ka471155/autoprom.in.ua/www/system/library/journal3/opencart/bestseller.php(107): DB->query('\n\t\t\tDELETE FROM...')
#2 /home/ka471155/autoprom.in.ua/www/catalog/controller/journal3/event/cache.php(12): Journal3\Opencart\Bestseller->update(12)
#3 /home/ka471155/autoprom.in.ua/storage/modification/system/engine/action.php(79): ControllerJournal3Ev in <b>/home/ka471155/autoprom.in.ua/www/system/library/db/mysqli.php</b> on line <b>41</b><br />