Post by tdra » Thu May 18, 2017 8:35 pm

can someone help me please, i just updated from 2.1 to latest 2.3, everything is ok at frontend, but when i try to view a product i get the error:

Code: Select all

Fatal error: Call to undefined method Cart\Currency::getCode() in /home4/jadmtdra/public_html/vqmod/vqcache/vq2-system_storage_modification_catalog_controller_product_product.php on line 358
and i dont know what is causing this, i already updated the vqmod but nothing changed ???

New member

Posts

Joined
Tue Dec 23, 2014 11:35 am

Post by Qphoria » Thu May 18, 2017 11:13 pm

Old 2.1 mods won't work with 2.3 so you likely have an old mod that calls the old $this->currency->getCode() function
This has been replaced (somewhat poorly) with $this->session->data['currency']
So find which file is calling that and replace it.

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by tdra » Fri May 19, 2017 5:29 am

Qphoria wrote:
Thu May 18, 2017 11:13 pm
Old 2.1 mods won't work with 2.3 so you likely have an old mod that calls the old $this->currency->getCode() function
This has been replaced (somewhat poorly) with $this->session->data['currency']
So find which file is calling that and replace it.
thank you so much :D found it

New member

Posts

Joined
Tue Dec 23, 2014 11:35 am
Who is online

Users browsing this forum: No registered users and 20 guests