Title: Function create_function() is deprecated
Last modified: June 22, 2018

---

# Function create_function() is deprecated

 *  Resolved [nicolamihaita](https://wordpress.org/support/users/nicolamihaita/)
 * (@nicolamihaita)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-5/)
 * Hi,
 * I am getting this message
    Deprecated: Function create_function() is deprecated
   in “wp-content\plugins\widget-countdown\includes\widget.php” on line 385

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

 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-5/#post-10445978)
 * Hi dear user.
 * Sorry for the late response.
 * What version are you using?
 * Thanks.
 *  [frank9th](https://wordpress.org/support/users/frank9th/)
 * (@frank9th)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-5/#post-10494481)
 * i got the same message, please what those it imply?
 *  [frank9th](https://wordpress.org/support/users/frank9th/)
 * (@frank9th)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-5/#post-10494482)
 * i got the same message, please what those it imply?
 *  [frank9th](https://wordpress.org/support/users/frank9th/)
 * (@frank9th)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-5/#post-10494485)
 * deactivate the particular plugin. the issue will be solved.
 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-5/#post-10522535)
 * Hi dear user.
 * Can you remove that line?
 * This should fix the issue.
 * We will update our plugin and fix this part in future.
 * Thanks.
 *  [bblake](https://wordpress.org/support/users/bblake/)
 * (@bblake)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-5/#post-11056778)
 * This compatibility issue with PHP 7.2 still exists – more than 6 months after
   first reported.
 * Maybe just deleting the offending line is sufficient, but I managed to solve 
   the problem with the method recommended here: [https://wordpress.org/support/topic/php-7-2-create_function-deprecated/ ](https://wordpress.org/support/topic/php-7-2-create_function-deprecated/)

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

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

 * ![](https://ps.w.org/widget-countdown/assets/icon-128x128.gif?rev=3511131)
 * [Countdown Timer - Widget Countdown](https://wordpress.org/plugins/widget-countdown/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widget-countdown/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widget-countdown/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-countdown/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-countdown/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-countdown/reviews/)

## Tags

 * [countdown widget](https://wordpress.org/support/topic-tag/countdown-widget/)

 * 6 replies
 * 4 participants
 * Last reply from: [bblake](https://wordpress.org/support/users/bblake/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-5/#post-11056778)
 * Status: resolved