Title: create_function Error in PHP 7.2
Last modified: June 13, 2019

---

# create_function Error in PHP 7.2

 *  [pelicani](https://wordpress.org/support/users/pelicani/)
 * (@pelicani)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/create_function-error-in-php-7-2/)
 * We noticed this plugin uses the create_function method which is deprecated in
   php 7.2
    I modified our copy to use a recommended solution to updating the code.
   [https://sarah-moyer.com/fix-create_function-deprecated-in-wordpress/](https://sarah-moyer.com/fix-create_function-deprecated-in-wordpress/)
 * I am following the advice on this page an contacting the plugin itself to make
   this modification so my changes do not get overridden with an update that does
   not have this change.
 * Please let me know if you have any questions or suggestions.
 * peace,
    Michael
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcreate_function-error-in-php-7-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘create_function Error in PHP 7.2’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pro-categories-widget.svg)
 * [Pro Categories Widget](https://wordpress.org/plugins/pro-categories-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pro-categories-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pro-categories-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/pro-categories-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pro-categories-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pro-categories-widget/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [pelicani](https://wordpress.org/support/users/pelicani/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/create_function-error-in-php-7-2/)
 * Status: not a support question