Title: create_function() issue (got Fatal Error)
Last modified: June 28, 2022

---

# create_function() issue (got Fatal Error)

 *  Resolved [iwanwilaga](https://wordpress.org/support/users/iwanwilaga/)
 * (@iwanwilaga)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/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
    -  This topic was modified 3 years, 11 months ago by [iwanwilaga](https://wordpress.org/support/users/iwanwilaga/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/create_function-issue-got-fatal-error/#post-15781237)
 * Hello Viktor
 * You’re using a premium plugin which isn’t supported here. Write to the site of
   the author of this plugin – [https://pluginus.net/support/forum/woof-woocommerce-products-filter/](https://pluginus.net/support/forum/woof-woocommerce-products-filter/)

Viewing 1 replies (of 1 total)

The topic ‘create_function() issue (got Fatal Error)’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-products-filter/assets/icon-256x256.png?rev=
   2844301)
 * [HUSKY - Products Filter Professional for WooCommerce](https://wordpress.org/plugins/woocommerce-products-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-products-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-products-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-products-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-products-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-products-filter/reviews/)

## Tags

 * [deprecated function](https://wordpress.org/support/topic-tag/deprecated-function/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/create_function-issue-got-fatal-error/#post-15781237)
 * Status: resolved