admin/controller/module/shoppica.php on line 412

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart Themeadmin/controller/module/shoppica.php on line 412

This topic has been marked as resolved.

I just upgraded and I keep getting this error in my admin error log:

2011-11-04 9:30:36 – PHP Notice: Use of undefined constant category_id – assumed ‘category_id’ in /admin/controller/module/shoppica.php on line 412

I don’t really know too much about php. Could somebody explain me what this is or how to solve?

November 4, 2011 at 11:55 am #3212

Hi!

This is a minor bug in Shoppica, which does not affect your system. Basically it only causes this Notice to appear. We have fixed it for the next update, but it is too harmless to make another Shoppica release.

So, no worries about it.

If you wish, you can fix it yourself by opening admin/controller/module/shoppica.php
Then find this row:

if (!empty($product_id) && category_id !== false) {
and replace it with:

if (!empty($product_id) && $category_id !== false) {

Regards, ThemeBurn team

November 7, 2011 at 12:27 pm #3299

Many thanks!

November 7, 2011 at 5:40 pm #3308

No problem, mate :)

November 9, 2011 at 8:45 am #3370
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.