error image widh and height

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart Themeerror image widh and height

This topic has been marked as not resolved.

Some products give this error in the error logwhen i open the product page, how can i fix this.

2018-03-15 15:25:10 – PHP Notice: Undefined index: image_width in /home/u7008p12289/domains/deonlinekaarsenwinkel.nl/public_html/system/vendor/BurnEngine/catalog/plugin/ProductPlugin.php on line 220
2018-03-15 15:25:10 – PHP Notice: Undefined index: image_height in /home/u7008p12289/domains/deonlinekaarsenwinkel.nl/public_html/system/vendor/BurnEngine/catalog/plugin/ProductPlugin.php on line 221

Thank you

March 15, 2018 at 4:29 pm #63721

Hi,

We are sorry we were not able to help you in time. In fact our entire support service has been missing for the last 30 days due to company issues. For a very short period we’ve left without any staff to handle requests and it took us some time to resolve this problem. We’ve now managed to restore our service and support will be provided with the normal rate.

About your problem – can you try to:

1) Open system/vendor/BurnEngine/catalog/plugin/ProductPlugin.php

2) Find this code block:

$option['image_width']  = $option_settings['image_width'];
$option['image_height'] = $option_settings['image_height'];

3) Replace it with this one:

if (!empty($option_settings['image_width'])) {
    $option['image_width']  = $option_settings['image_width'];
}
if (!empty($option_settings['image_height'])) {
    $option['image_height'] = $option_settings['image_height'];
}

BR,
ThemeBurn team

March 29, 2018 at 12:12 pm #63820
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.