Bug: Products without image Undefined variable notice

ThemeBurn SupportForumsOpenCart ThemesBurnEngineBug: Products without image Undefined variable notice

This topic has been marked as not resolved.

There seems to be a bug on the product page if a product does not contain an image.

Notice: Undefined variable: width in /system/vendor/BurnEngine/catalog/plugin/ProductPlugin.php on line 108
Notice: Undefined variable: height in /system/vendor/BurnEngine/catalog/plugin/ProductPlugin.php on line 109

System Info:
Pavilion 2.2.7/BurnEngine 1.2.7/OC 7.0.26

December 5, 2017 at 2:45 pm #62762


Generally, there is a check that prevents that exact problem. We cannot reproduce it locally and will need admin and ftp access to check your installation.

You can use hidepost to share private information with the support staff.

ThemeBurn team

December 11, 2017 at 2:02 am #62840


It’s a clean install of OC and Pavilion v2.2.7/BurnEngine version1.2.7.

December 11, 2017 at 3:56 pm #62847


We’ve fixed the problem by editing system/vendor/BurnEngine/catalog/plugin/ProductPlugin.php

The fix will also be added with the next update.

ThemeBurn team

December 18, 2017 at 4:36 pm #62921

Cool! Thanks :-)

December 18, 2017 at 4:54 pm #62924

Glad we’ve helped :)

ThemeBurn team

December 19, 2017 at 10:17 am #62927

Another thing though; Shouldn’t the “No image” image show when a product doesn’t have a product image?

December 19, 2017 at 11:58 am #62928


Yes, there should be a placeholder image. As long as it is existing in


ThemeBurn team

January 4, 2018 at 6:20 pm #63029

The placeholder image exist and is displayed in the product list but not on the product page, which cause the product page to collaps.


January 4, 2018 at 7:37 pm #63033


This is the default OpenCart behavior and we’ve kept it. Unfortunately, if you want a “no image” picture in the product info page, you will have to manually upload it.

ThemeBurn team

January 4, 2018 at 11:06 pm #63044
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.