create_function() issue (got Fatal Error)
-
Hello!
I’d like to send you a heads-up on this. It seems the create_function() and the W3Tc plugin caused (conflicted?) Fatal Error sometimes in our woo shop.
the error:
PHP Fatal error: Uncaught ErrorException: Function create_function() is deprecated in /home/www/clients/xxx/web/wp-content/plugins/woocommerce-products-filter/index.php:890 Stack trace: #0 /home/www/xxx/web/wp-content/plugins/woocommerce-products-filter/index.php(890): W3TC\Cache_Redis->W3TC\{closure}(8192, 'Function create...', '/home/www/clien...', 890, Array) #1 /home/www/clients/xxx/web/wp-includes/class-wp-hook.php(307): WOOF->wp_load_js('') #2 /home/www/clients/xxx/web/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /home/www/clients/xxx/web/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #4 /home/www/clients/xxx/web/wp-includes/general-template.php(3042): do_action('wp_head') #5 /home/www/clients/xxx/web/wp-content/themes/woodmart/header.php(12): wp_head() #6 /home/www/clients/xxx/web/wp-includes/template.php(770): require_once('/home/www/clien...') #7 /home/w in /home/www/clients/xxx/web/wp-content/plugins/woocommerce-products-filter/index.php on line 890
to me it seems at #0 trace the cache plugin couldn’t digest the create_function() closure or smt like that.
This leads to a question: are there plans to improve on the deprecated create_function() logic in the plugin code or it’s impossible due to backward compatibility, etc?and finally a thing i found weird: in the wp admin, plugins panel the WOOF plugin shows version “2.1.8” (instead of 1.2.8 i guess o.O) what can be the reason? Maybe it’s bc the admin is using hungarian translation and that screws the format?
Thanks for reply!
Best wishes,
Viktor
- The topic ‘create_function() issue (got Fatal Error)’ is closed to new replies.