Title: Function create_function() is deprecated
Last modified: June 5, 2019

---

# Function create_function() is deprecated

 *  Resolved [rogeriodec](https://wordpress.org/support/users/rogeriodec/)
 * (@rogeriodec)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-18/)
 * I’m using the [Query Monitor](https://wordpress.org/plugins/query-monitor/) plugin
   and it is showing this warning on:
 * wp-content/plugins/woo-shortcodes-kit/woo-shortcodes-kit.php
    wp-content/plugins/
   woo-shortcodes-kit/woo-shortcodes-kit.php:4105 wp-content/plugins/woo-shortcodes-
   kit/wshk-class.php:190

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [disespubli](https://wordpress.org/support/users/disespubli/)
 * (@disespubli)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-18/#post-11607321)
 * Hi Rogerio,
 * I have the Query Monitor installed too and i dont get these warnings…
 * Can you tell me the warning message? because these codes are from many versions
   ago working good without any problems and never i get warnings for it.
 * What theme are you using?
    Your PHP version? Are you using the last version of
   WordPress and WooCommerce?
 * Do you have test it only with WooCommerce enabled?
 * If you can send more information will be great!
 * Regards!
 *  Thread Starter [rogeriodec](https://wordpress.org/support/users/rogeriodec/)
 * (@rogeriodec)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-18/#post-11608287)
 * Hi, the warning message is the title “Function create_function() is deprecated”.
   
   Here an [image](http://i.imgur.com/k2B1166.jpg). I’m using Shopisle theme. PHP
   7.3.5 The latest version of WordPress and WooCommercer. WooCommerce is enabled.
   Usually, deprecated functions are because of earlier versions of PHP.
 *  Plugin Author [disespubli](https://wordpress.org/support/users/disespubli/)
 * (@disespubli)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-18/#post-11612569)
 * Do you have Debug mode enabled maybe?
 * This kind of warnings normally appear in debug mode only, and is just an advice
   talking that maybe in future PHP versions this function will be deprecated.
 * Regards!
 *  Thread Starter [rogeriodec](https://wordpress.org/support/users/rogeriodec/)
 * (@rogeriodec)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-18/#post-11612631)
 * Yes, debug is enabled, so maybe the case.
    Thanks for your attention!
 *  Plugin Author [disespubli](https://wordpress.org/support/users/disespubli/)
 * (@disespubli)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-18/#post-11612732)
 * I have developed the new version 1.7.8 of Woo Shortcodes Kit solving the deprecated
   function, do you want test before be uploaded?
 * If you want write to me from the contact form in the website and i will send 
   you (will be 1.7.7 updated version)
 * Regards!
 *  Plugin Author [disespubli](https://wordpress.org/support/users/disespubli/)
 * (@disespubli)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-18/#post-11615430)
 * UPDATE – Solved in the new version 1.7.8!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Function create_function() is deprecated’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-shortcodes-kit_33124e.svg)
 * [WSHK for WooCommerce](https://wordpress.org/plugins/woo-shortcodes-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-shortcodes-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-shortcodes-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-shortcodes-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-shortcodes-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-shortcodes-kit/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [disespubli](https://wordpress.org/support/users/disespubli/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-18/#post-11615430)
 * Status: resolved