Title: Function create_function() is deprecated Error with PHP 7.2 and newer
Last modified: February 9, 2019

---

# Function create_function() is deprecated Error with PHP 7.2 and newer

 *  Resolved [Micha – MS29](https://wordpress.org/support/users/fotoglut/)
 * (@fotoglut)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-error-with-php-7-2-and-newer/)
 * Hello,
 * the FooBox also works fine with PHP 7.2 as far as I can see.
    However, the tool
   floods the error logs with the message: Deprecated: Function create_function()
   is deprecated in ../fooboxV2/includes/wp_pluginbase.php on line 410
 * Is there going to be an update?

Viewing 1 replies (of 1 total)

 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-error-with-php-7-2-and-newer/#post-11187290)
 * Hi [@fotoglut](https://wordpress.org/support/users/fotoglut/),
 * You are using a really outdated version of the plugin. I can tell because the
   error includes the path “fooboxv2”. The latest version from the Wp.org repo used
   a folder of “foobox-image-lightbox”.
 * I have also double checked the latest version and there is no code within the
   plugin that uses the deprecated function create_function.
 * Please update to the latest version and this warning will no appear
    -  This reply was modified 7 years, 4 months ago by [bradvin](https://wordpress.org/support/users/bradvin/).

Viewing 1 replies (of 1 total)

The topic ‘Function create_function() is deprecated Error with PHP 7.2 and newer’
is closed to new replies.

 * ![](https://ps.w.org/foobox-image-lightbox/assets/icon-256x256.gif?rev=2667030)
 * [Lightbox & Modal Popup WordPress Plugin - FooBox](https://wordpress.org/plugins/foobox-image-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foobox-image-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foobox-image-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/foobox-image-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foobox-image-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foobox-image-lightbox/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [bradvin](https://wordpress.org/support/users/bradvin/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-error-with-php-7-2-and-newer/#post-11187290)
 * Status: resolved