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
|
|
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
|
|