Recently upgraded from 1.5.2.1 to 1.5.51...
Also updated a few extensions and installed a few new ones. Now when you get to my home page and try and click on a product I get an error message. Problem is I'm not sure what change has caused the following error:
PHP Fatal error: Call to undefined method ModelCatalogProduct::getProductTags() in /root/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 381
Site is in maintenance at the moment, really keen to get it back online so any assistance appreciated.
Just home and been able to access the source, heres line 381...
$results = $this->model_catalog_product->getProductTags($this->request->get['product_id']);
Got it fixed by googling the line of code.
$results = $this->model_catalog_product->getProductTags($this->request->get['product_id']);
Got it fixed by googling the line of code.
Although I have actually now fixed this, it replicates itself any time I install certain VQMOD extensions.
Any ideas what's causing this and to stop it reoccurring in the future? It's getting annoying replacing the same line of code!
Any ideas what's causing this and to stop it reoccurring in the future? It's getting annoying replacing the same line of code!
VQ Cache files are simply mirrored from the original files where the XML files target the source line codes from vqmod/xml folder. When installing new VQMod extension or when leaving that specific block instruction code into the XML, the line above you specified will remain there until removed.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Does this mean I should make the same change to:
root/catalog/controller/product/product.php as I have to the VQMod cache file?
root/catalog/controller/product/product.php as I have to the VQMod cache file?
No, make the changes on the XML source file.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 316 guests