Title: Deprecated function
Last modified: July 13, 2018

---

# Deprecated function

 *  Resolved [pekos](https://wordpress.org/support/users/pekos/)
 * (@pekos)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/deprecated-function-25/)
 * Hi Antoine
 * i am seeing a lot of errors in debug.log, like the following:
 * [13-Jul-2018 19:51:07 UTC] PHP Deprecated: Function create_function() is deprecated
   in /var/www/vhosts/pekos.gr/euro2020.myddns.rocks/wp-content/plugins/football-
   pool/widgets/widget-football-pool-next-prediction.php on line 7
 * for all extra plugins i am receiving this error. Is this something you need to
   consider for future releases ?
 * thanx

Viewing 1 replies (of 1 total)

 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/deprecated-function-25/#post-10492375)
 * Yes, I also noticed these warnings. The create_function is deprecated as of PHP
   version 7.2.
    Next plugin version will drop PHP 5.2 support which means I could
   change the create_function calls to lambda style anonymous functions (that are
   only supported from 5.3 onwards).

Viewing 1 replies (of 1 total)

The topic ‘Deprecated function’ is closed to new replies.

 * ![](https://ps.w.org/football-pool/assets/icon-256x256.png?rev=983880)
 * [Football Pool](https://wordpress.org/plugins/football-pool/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/football-pool/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/football-pool/)
 * [Active Topics](https://wordpress.org/support/plugin/football-pool/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/football-pool/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/football-pool/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [AntoineH](https://wordpress.org/support/users/antoineh/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/deprecated-function-25/#post-10492375)
 * Status: resolved