Title: Create Function Deprecated
Last modified: August 24, 2018

---

# Create Function Deprecated

 *  Resolved [db-dzine](https://wordpress.org/support/users/db-dzine/)
 * (@db-dzine)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/create-function-deprecated/)
 * Dear Support,
 * when will the deprecated create_function errors be fixed? Our debug log got into
   1GB with 380k lines of:
 * PHP Deprecated: Function create_function() is deprecated in XXX/wp-content/plugins/
   autoptimize/classes/autoptimizeStyles.php on line 483
    PHP Deprecated: Function
   create_function() is deprecated in XXX/wp-content/plugins/autoptimize/classes/
   autoptimizeBase.php on line 181 PHP Deprecated: Function create_function() is
   deprecated in XXX/wp-content/plugins/autoptimize/classes/autoptimizeBase.php 
   on line 213 PHP Deprecated: Function create_function() is deprecated in XXX/wp-
   content/plugins/autoptimize/classes/autoptimizeBase.php on line 229 PHP Deprecated:
   Function create_function() is deprecated in XXX/wp-content/plugins/autoptimize/
   classes/autoptimizeBase.php on line 197 PHP Deprecated: Function create_function()
   is deprecated in XXX/wp-content/plugins/autoptimize/classes/autoptimizeStyles.
   php on line 98
 * Please fix this! We really like and appreciate the plugin and work 🙂

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/create-function-deprecated/#post-10621975)
 * well, there not errors but warnings (create_function still works perfectly in
   PHP 7.2) :-p
 * but I know what you mean and this is actually fixed in [2.4, which is in beta and can be tested/ used](https://wordpress.org/support/topic/autoptimize-2-4-coming-soon-need-your-help-to-test/)
   if you want 🙂
 * enjoy the weekend!
    frank
 *  Thread Starter [db-dzine](https://wordpress.org/support/users/db-dzine/)
 * (@db-dzine)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/create-function-deprecated/#post-10621987)
 * Wow! That is fast and good customer support 🙂
 * In the article you say “coming in June/ July”. We now have August – do you know
   when it will be released?
 * Great plugin anyway 🙂
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/create-function-deprecated/#post-10621998)
 * > do you know when it will be released?
 * when it’s ready :-p
 * no, seriously, I’m currently working with Shortpixel to finalize the image optimization
   code, I hope to be able to release in September 🙂
 * but do test, I can use all the testers/ feedback I can get!

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

The topic ‘Create Function Deprecated’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/create-function-deprecated/#post-10621998)
 * Status: resolved