Error: Unknown: Function create_function() is deprecated in in Category view

ThemeBurn SupportForumsOpenCart ThemesTechnopolis OpenCart ThemeError: Unknown: Function create_function() is deprecated in in Category view

This topic has been marked as not resolved.

Dear, I have this error in Category view of the theme:

Unknown: Function create_function() is deprecated in /home/twinityb/public_html/system/vendor/BurnEngine/catalog/ThemeCatalogExtension.php on line 394

Can you help me?
Demo: https://www.twinity.bg/index.php?route=product/category&path=60

 moonbg
December 27, 2018 at 4:45 pm #66605

As a temporary fix you could open system/vendor/BurnEngine/catalog/ThemeCatalogExtension.php and replace

$path = array_map(@create_function('$value', 'return abs((int) $value);'), explode('_', $path));
with
$path = array_map(function($value) {
    return abs((int) $value);
}, explode('_', $path));

We will supply this fix in the next update too.

Regards,
ThemeBurn team

January 9, 2019 at 10:19 am #66730
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.