Version 2.3.0.2
I'm getting the following error in my error log:
2018-12-05 19:02:52 - PHP Notice: Undefined variable: product_data in C:\xampp\htdocs\shop\vqmod\vqcache\vq2-system_storage_modification_catalog_model_catalog_product.php on line 428
I've looked at the code around line 428:
public function getLatestProducts($limit) {
//$product_data = $this->cache->get('product.latest.' . (int)$this->config->get('config_language_id') . '.' . (int)$this->config->get('config_store_id') . '.' . $this->config->get('config_customer_group_id') . '.' . (int)$limit);
if (!$product_data) {
What do I need to add to define this variable and where should I add the code?
Thanks,
Linda
Code: Select all
//$product_data = $this->cache->get('product.latest.' . (int)$this->config->get('config_language_id') . '.' . (int)$this->config->get('config_store_id') . '.' . $this->config->get('config_customer_group_id') . '.' . (int)$limit);
by use of a double forward-slash //, for what unknown to me reason ever, and can therefore
not be 'identified' and so 'used', by this Code:
Code: Select all
if (!$product_data) {
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
I noticed that. Do you think I can just remove // from the cache file or is that happening somewhere else in the code (since this is a cache file)?
Who is online
Users browsing this forum: No registered users and 161 guests