Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

При установке модуля есть ошибка с существующими товарами. Как быть? #45

Open
petiforovdima7 opened this issue Mar 25, 2020 · 0 comments

Comments

@petiforovdima7
Copy link

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
Notice: Undefined index: unit_id in /var/www/cha02dfea7/www/miydim.sumy.ua/system/storage/modification/catalog/controller/checkout/cart.php on line 344

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 '' at line 1<br />Error No: 1064<br />INSERT oc_cart SET api_id = '0', customer_id = '1', session_id = '868cad548f564ba0e192d267b3', product_id = '1', recurring_id = '0', option = '[]', quantity = '1', date_added = NOW(), unit_id = ' in /var/www/cha02dfea7/www/miydim.sumy.ua/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/cha02dfea7/www/miydim.sumy.ua/system/library/db.php(16): DB\MySQLi->query('INSERT oc_cart ...', Array)
#1 /var/www/cha02dfea7/www/miydim.sumy.ua/system/storage/modification/system/library/cart/cart.php(277): DB->query('INSERT oc_cart ...')
#2 /var/www/cha02dfea7/www/miydim.sumy.ua/system/storage/modification/catalog/controller/checkout/cart.php(344): Cart\Cart->add('1', 1, Array, 0, NULL)
#3 [internal function]: ControllerCheckoutCart->add()
#4 /var/www/cha02dfea7/www/miydim.sumy.ua/system/storage/ in /var/www/cha02dfea7/www/miydim.sumy.ua/system/library/db/mysqli.php on line 40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant