Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Ошибка кнопки оформить заказ в корзине


 Share

Recommended Posts

Всем здравствуйте !

Столкнулся с проблемой что в корзине при нажатии кнопки оформить заказ в консоли появляется ошибка - SyntaxError: Unexpected token '<', "<b>Warning"... is not valid JSON
OK
<b>Warning</b>: filter_var(): Delimiter must not be alphanumeric or backslash in <b>C:\OSPanel\domains\opencart.loc\catalog\controller\extension\module\custom\customer.php</b> on line <b>364</b><b>Warning</b>: filter_var(): Delimiter must not be alphanumeric or backslash in <b>C:\OSPanel\domains\opencart.loc\catalog\controller\extension\module\custom\customer.php</b> on line <b>364</b><b>Warning</b>: filter_var(): Delimiter must not be alphanumeric or backslash in <b>C:\OSPanel\domains\opencart.loc\catalog\controller\extension\module\custom\customer.php</b> on line <b>364</b>{"error":{"firstname":"\u041d\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u0418\u043c\u044f","lastname":"\u041d\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u0424\u0430\u043c\u0438\u043b\u0438\u044f","telephone":"\u041d\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u0422\u0435\u043b\u0435\u0444\u043e\u043d"}}

 

Устанавливал модуль для оформления корзины думал что из-за него такая ошибка, но когда удалил его понял что ошибка не в нём. Opencart version 3.0.2.0.

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.