Constant errors being reported from shoppica_brand_category.tpl

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeConstant errors being reported from shoppica_brand_category.tpl

This topic has been marked as not resolved.

Each time you click on a category, it’s putting the below errors into the error log:

2011-09-08 8:10:31 - PHP Notice:  Undefined index: path in /home/pure1/public_html/shop/catalog/view/theme/shoppica/template/product/shoppica_brand_category.tpl on line 61

Line 61:
<a href="model_tool_seo_url->rewrite(HTTP_SERVER . ‘index.php?route=product/category&path=’ . $thi
s->request->get['path'] . ‘&setListingType=grid’); ?>” rel=”nofollow”>document->text_g
rid?>

Line 64:
<a href="model_tool_seo_url->rewrite(HTTP_SERVER . ‘index.php?route=product/category&path=’ . $thi
s->request->get['path'] . ‘&setListingType=list’); ?>” rel=”nofollow”>document->text_l
ist?>

I do have SEO URL’s enabled in the shop, so could it be something do to with this? It doesn’t happen if I switch back to the standard OpenCart theme.

Thanks,
Matt

September 8, 2011 at 10:21 am #1574

Hello Matt,

Have you checked, if you have the latest version of Shoppica?

September 8, 2011 at 4:45 pm #1609

Hello,

Yes, apologies, I should have put some version information into my original post.

I’m running OC 1.4.9.6 and the latest version of the theme: 1.0.9

Thanks,
Matt

September 8, 2011 at 4:59 pm #1611

Please, open this file:

catalog/view/theme/shoppica/template/product/shoppica_brand_category.tpl

and replace line 61 with:

You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!

This should resolve your issues.

September 12, 2011 at 2:51 pm #1662

Excellent, fix confirmed :-)

September 13, 2011 at 7:52 pm #1709

Happy to help :)

September 15, 2011 at 12:18 pm #1736
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.