Post by codywood » Fri May 19, 2017 3:32 pm

I'm getting the following error very often. Anyone have a suggestion on how to fix this?

I'm using OpenCart 2.2.0.0, multi-store

2017-05-18 23:52:34 - PHP Notice: Undefined variable: continue in /xxxx/xxxx/public_html/store2/vqmod/vqcache/vq2-catalog_view_theme_default_template_product_special.tpl on line 147

I don't know PHP well but do know HTML and CSS.

New member

Posts

Joined
Mon Sep 15, 2014 10:42 am

Post by uksitebuilder » Fri May 19, 2017 3:38 pm

As the error is coming from a vqmod cached file, it seems that you have a vqmod/xml file that is modifying your specials page

You should check any extensions or modifications that are modifying

catalog/view/theme/default/template/product/special.tpl
catalog/controller/product/special.php

It is highly likely that the following line from the default OC controller file is being deleted by a vqmod

$data['continue'] = $this->url->link('common/home');

As the template is referencing $continue but the controller is not passing the variable (hence the error)

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: Google [Bot] and 13 guests