Page 1 of 1

[URGENT] Error When Updating Order History

Posted: Sat Jul 16, 2016 2:57 am
by BrandonBerner
I am using Opencart 2.0.3.1

When I change the order history I see the following error

Image


The last change that I have made was changing the domain of my store to a new domain. I updated both Config files with the new domain. Im not sure if this is the cause of the error, or if its something else.

Error Logs:

2016-07-16 2:43:49 - PHP Notice: Undefined variable: json in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_controller_sale_order.php on line 2286
2016-07-16 8:21:49 - PHP Notice: Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32


Thanks for any help!

Re: [URGENT] Error When Updating Order History

Posted: Sat Jul 16, 2016 7:47 pm
by straightlight
Opencart v2.3 beta release fixes this issue: http://forum.opencart.com/viewtopic.php?f=2&t=164930

Re: [URGENT] Error When Updating Order History

Posted: Sun Jul 17, 2016 4:45 am
by BrandonBerner
straightlight wrote:Opencart v2.3 beta release fixes this issue: http://forum.opencart.com/viewtopic.php?f=2&t=164930
Thanks for the tip, however I need a fully working version for an active store. 2.3 is in beta still.


Here is my error logs, does this make sense to anyone? and if so, how can I fix whatever is causing these 2 errors?

Code: Select all

2016-07-16 2:43:49 - PHP Notice:  Undefined variable: json in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_controller_sale_order.php on line 2286
2016-07-16 8:21:49 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32


Re: [URGENT] Error When Updating Order History

Posted: Sun Jul 17, 2016 4:34 pm
by cyclops12
These errors are due to a vqmod that you have installed so disable your vqmods one by one until you find the culprit, then you will know where to start looking
I would delete the contents of your vqmod/vqcache folder first, then refresh to see if it an old vqmod thats causing the problem.
If not then you will have to disable the vqmods one by one until you find which one is causing problems

Re: [URGENT] Error When Updating Order History

Posted: Mon Jul 18, 2016 2:08 pm
by BrandonBerner
cyclops12 wrote:These errors are due to a vqmod that you have installed so disable your vqmods one by one until you find the culprit, then you will know where to start looking
I would delete the contents of your vqmod/vqcache folder first, then refresh to see if it an old vqmod thats causing the problem.
If not then you will have to disable the vqmods one by one until you find which one is causing problems

I removed all VQMODS, Refreshed in Modifications, and still received the error.

I also downloaded my entire XML folder, and ran AgentRansack which searches for words inside files. I did a search for order.php, and only one file appeared which was API_Curl_Bounce.xml. I opened that file and I saw "admin/controller/sale/order.php" inside it. This is the same path that the error shows. Even when this is disabled, I still receive the error.

Any other suggestions?

Thanks :)

Re: [URGENT] Error When Updating Order History

Posted: Tue Jul 19, 2016 12:16 am
by cyclops12
Did you delete the contents of error log and vqmod/vqcache after you disable the xml file, then refresh in ext/mods and see if the error reappears?

Re: [URGENT] Error When Updating Order History

Posted: Wed Jul 27, 2016 8:40 am
by BrandonBerner
cyclops12 wrote:Did you delete the contents of error log and vqmod/vqcache after you disable the xml file, then refresh in ext/mods and see if the error reappears?
Here are my current errors with vqmods enabled:

Code: Select all

2016-07-27 0:20:25 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:20:43 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:20:48 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:21:03 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:21:10 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:21:11 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:22:13 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:22:22 - PHP Notice:  Undefined variable: json in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_controller_sale_order.php on line 2286
2016-07-27 0:22:33 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:22:37 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:23:40 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:23:46 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:23:52 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:23:55 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:23:58 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:24:01 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:24:06 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:24:09 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:24:13 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:24:18 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:24:21 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:24:27 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
2016-07-27 0:24:30 - PHP Notice:  Undefined variable: vqmod_manager in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-admin_view_template_common_menu.tpl on line 32
Now,
I deleted all contents of error log
I deleted all contents of vqmod/vqcache
I disabled all XML VQMODS
I disabled all Modifications
I clicked the refresh button in extension>mods

And I still receive an error.

Code: Select all

2016-07-27 0:31:42 - PHP Notice:  Undefined variable: json in /home1/nobscomp/public_html/SMB/opencart/admin/controller/sale/order.php on line 2221

Should I replace my order.php with a backup I have?

Or do you suggest anything else I can do?