Closed buchanan-fh closed 5 years ago
After upgrading to PHP 7.2, I get the following error when accessing the admin page of the plugin :
Deprecated: Function create_function() is deprecated in /home/carte-fh/www/galerie_photo/plugins/community/admin.php on line 66
Replace: $tab_codes = array_map(create_function('$a', 'return $a["code"];'), $tabs);
With: $tab_codes = array_map( function ($a){ return $a["code"];}, $tabs);
After upgrading to PHP 7.2, I get the following error when accessing the admin page of the plugin :
Deprecated: Function create_function() is deprecated in /home/carte-fh/www/galerie_photo/plugins/community/admin.php on line 66