Page 1 of 1

Opencart 2.2 Error log Help

Posted: Fri May 06, 2016 4:14 am
by beeman
Hello! After using qphoria's service I've upgraded from 1.5.x to OC 2.2 but I'm getting various errors in error_log. Does anyone know the reason why some of these are popping up? Any help is appreciated!

The main error messages I see are

Code: Select all

PHP Fatal error:  Call to undefined method Exception::getClass() in /home/username/public_html/vqmod/vqcache/vq2-system_engine_front.php on line 61

PHP Fatal error:  Call to undefined method ControllerProductLatest::render() in /home/username/public_html/catalog/controller/product/latest.php on line 303

PHP Fatal error:  Call to undefined method Controllerproductbestseller::render() in /home/username/public_html/catalog/controller/product/bestseller.php on line 302

PHP Fatal error:  Call to undefined method Exception::getClass() in /home/username/public_html/vqmod/vqcache/vq2-system_engine_front.php on line 61

PHP Fatal error:  Call to undefined method ControllerCheckoutSimpleCheckout::render() in /home/username/public_html/catalog/controller/checkout/simplecheckout.php on line 233
These two error messages appeared recently..

Code: Select all

Stack trace:
#0 /home/username/public_html/system/library/db.php(16): DB\MySQLi->query('SELECT google_b...', Array)
#1 /home/username/public_html/catalog/model/feed/google_base.php(4): DB->query('SELECT google_b...')
#2 [internal function]: ModelFeedGoogleBase->getCategories()
#3 /home/username/public_html/vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php(161): call_user_func_array(Array, Array)
#4 [internal func in /home/username/public_html/system/library/db/mysqli.php on line 40

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 21563 bytes) in /home/username/public_html/system/library/db/mysqli.php on line 33
Entire error_log can be found here http://pastebin.com/9L5jtyB4

Thank you! :)

Re: Opencart 2.2 Error log Help

Posted: Fri May 06, 2016 4:35 am
by pm-netti
Your need remove files in folder vqmod/vqcache and all all vqmod extension files in folder vqmod/xml.

Re: Opencart 2.2 Error log Help

Posted: Fri May 06, 2016 11:31 am
by beeman
pm-netti wrote:Your need remove files in folder vqmod/vqcache and all all vqmod extension files in folder vqmod/xml.
In vqmod/xml there was a folder /vqmod/xml/OLD with all the older extensions, I've moved that folder out of /vqmod/xml just in case it was causing the errors.

I also checked vqmod/vqcache but unsure which files need to be deleted. I have journal 2 theme installed so I believe some are from them so I sent them a support ticket to ask which files are journal 2 related but could you check to see if there is anything that stands out that could cause a problem?

Image

Thanks for the help!

Re: Opencart 2.2 Error log Help

Posted: Fri May 06, 2016 4:18 pm
by pm-netti
You folder vqmod/vqcache must be empty.

Re: Opencart 2.2 Error log Help

Posted: Sun May 08, 2016 3:50 am
by beeman
pm-netti wrote:You folder vqmod/vqcache must be empty.
Thanks, I deleted all the files but the errors are still showing up.. I did more investigating and I think I found the problem.

Before upgrading I had custom pages like "www.mystore.com/index.php?route=product/latest" so when people visited those pages through Google errors would pop up, I made 301 redirects for them back to their correct pages. I hope that will solve the issue.

Thanks for the help!

Re: Opencart 2.2 Error log Help

Posted: Sun May 08, 2016 4:02 am
by pm-netti
beeman wrote:
pm-netti wrote:You folder vqmod/vqcache must be empty.
Thanks, I deleted all the files but the errors are still showing up.. I did more investigating and I think I found the problem.

Before upgrading I had custom pages like "www.mystore.com/index.php?route=product/latest" so when people visited those pages through Google errors would pop up, I made 301 redirects for them back to their correct pages. I hope that will solve the issue.

Thanks for the help!
If you are emptied folders vqcache and xml, your is not can be any more errors to vqmod cache files,

Re: Opencart 2.2 Error log Help

Posted: Thu Jun 02, 2016 8:56 pm
by milky
Hello,

Did you find a solution? I have a similar problem on the checkout page with Journal installed on OC 2.2.0.0

The personal details form fields are slightly off to the right and I get the following error:
Fatal error: Call to undefined method Exception::getClass() in /home/www/mysite.com/NewStore/system/storage/modification/system/engine/front.php on line 138

Thanks

Re: Opencart 2.2 Error log Help

Posted: Thu Jun 30, 2016 7:52 pm
by RumenGeorgieff
I have the same error when I try to set SSL on the administration.

Code: Select all

PHP Fatal error:  Call to undefined method Exception::getClass() in /home/user/public_html/site.comk/system/engine/front.php on line 61

Re: Opencart 2.2 Error log Help

Posted: Tue Jul 26, 2016 1:30 pm
by lvalics
Same 500 error on index.php?route=product/latest
With 2.2 I get more error that I got since I use Opencart :-(

Re: Opencart 2.2 Error log Help

Posted: Tue Jul 26, 2016 7:49 pm
by straightlight
lvalics wrote:Same 500 error on index.php?route=product/latest
With 2.2 I get more error that I got since I use Opencart :-(
Follow the essentials topic - error logs section - http://forum.opencart.com/viewtopic.php?f=190&t=165636 .