Image Image Image Image Image Image Image Image Image Image

Oakstree | October 22, 2017

Scroll to top

Top

No Comments

How to fix error SyntaxError: Unexpected end of input OK when editing order in OpenCart 2

How to fix error SyntaxError: Unexpected end of input OK when editing order in OpenCart 2

 

 

Recent days I have encountered many reports about the error SyntaxError: Unexpected end of input OK when editing order in OpenCart 2. The error looks like as image above.

 

In this post, I will show how to fix that probllem. You can follow steps below:

1. Disable the Maintenance Mode in admin > System > Stores > Your store > tab Server.

2. Go to Admin > System > Users > API > Create new API account.

api_account_creating

3. Go to Admin > System > Settings > Edit your store > Select tab Option > Checkout section > set API User to the created account.

api_admin_setting

4. Try to edit order again, you will see the problem is fixed.

NOTE THAT: In some specific hostings, they cause this problem too. If you follow the steps above, the problem still occurs, you can contact me via Contact Page. I will help you to fix it.

Submit a Comment