Post by BrandonBerner » Sat Jul 16, 2016 2:57 am

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!
Last edited by BrandonBerner on Sun Jul 17, 2016 4:46 am, edited 1 time in total.

Active Member

Posts

Joined
Sat Dec 15, 2012 4:49 am

Post by straightlight » Sat Jul 16, 2016 7:47 pm

Opencart v2.3 beta release fixes this issue: http://forum.opencart.com/viewtopic.php?f=2&t=164930

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by BrandonBerner » Sun Jul 17, 2016 4:45 am

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


Active Member

Posts

Joined
Sat Dec 15, 2012 4:49 am

Post by cyclops12 » Sun Jul 17, 2016 4:34 pm

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

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by BrandonBerner » Mon Jul 18, 2016 2:08 pm

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 :)

Active Member

Posts

Joined
Sat Dec 15, 2012 4:49 am

Post by cyclops12 » Tue Jul 19, 2016 12:16 am

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?

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by BrandonBerner » Wed Jul 27, 2016 8:40 am

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?

Active Member

Posts

Joined
Sat Dec 15, 2012 4:49 am
Who is online

Users browsing this forum: Semrush [Bot] and 41 guests