Title: PHP 7.2 errors
Last modified: April 26, 2018

---

# PHP 7.2 errors

 *  Resolved [abkrim](https://wordpress.org/support/users/abkrim/)
 * (@abkrim)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-errors-3/)
 * After update get some errors (PHP Deprecated) with PHP 7.2
 * Version plugin: 5.3.2
    WP: 4.9.5
 *     ```
       [26-Apr-2018 03:54:19 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/tamainut/public_html/wp-content/plugins/autoptimize/classes/autoptimizeBase.php on line 213
       [26-Apr-2018 03:54:19 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/tamainut/public_html/wp-content/plugins/autoptimize/classes/autoptimizeBase.php on line 229
       [26-Apr-2018 03:54:19 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/tamainut/public_html/wp-content/plugins/autoptimize/classes/autoptimizeStyles.php on line 98
       [26-Apr-2018 03:54:19 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/tamainut/public_html/wp-content/plugins/autoptimize/classes/autoptimizeBase.php on line 213
       [26-Apr-2018 03:54:19 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/tamainut/public_html/wp-content/plugins/autoptimize/classes/autoptimizeBase.php on line 229
       [26-Apr-2018 03:54:19 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/tamainut/public_html/wp-content/plugins/autoptimize/classes/autoptimizeStyles.php on line 483
       ```
   
    -  This topic was modified 8 years, 1 month ago by [abkrim](https://wordpress.org/support/users/abkrim/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-7-2-errors-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-errors-3/#post-10219789)
 * I’ve got good news and I’ve got even better news [@abkrim](https://wordpress.org/support/users/abkrim/)
   🙂
 * * the good news; those are not errors, but warnings. PHP 7.2 is warning us that`
   create_function` while still working, will not work in _a future version_ of 
   PHP (7.3 or higher).
    * the better news; this has addressed in [Autoptimize 2.4 which is in beta now](https://blog.futtta.be/2018/02/18/introducing-zytzagoos-major-changes-for-autoptimize-2-4/).
   If you want you can [download the zip-file of the beta here](https://github.com/futtta/autoptimize/tree/beta)
   and enjoy the lack of PHP warnings and more immediately 🙂
 * Have a nice day!
    frank

Viewing 1 replies (of 1 total)

The topic ‘PHP 7.2 errors’ 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

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)
 * [PHP 7.2](https://wordpress.org/support/topic-tag/php-7-2/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-errors-3/#post-10219789)
 * Status: resolved