Title: php warnings
Last modified: November 24, 2021

---

# php warnings

 *  Resolved [luizcros](https://wordpress.org/support/users/luizcros/)
 * (@luizcros)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-121/)
 * I have new server and after installation of new plugins, wp-optimize is one of
   them I’ve got few warning in admin section. Is wp-optimize compatible with php
   7.4 ?

Viewing 1 replies (of 1 total)

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-121/#post-15101782)
 * [@luizcros](https://wordpress.org/support/users/luizcros/) Yes WP-Optimize is
   compatible with PHP 7.4.
 * Please edit wp-config.php file and
 * Replace
 * `define('WP_DEBUG', false);`
 * with this:
 *     ```
       ini_set('log_errors','On');
   
       ini_set('display_errors','Off');
   
       ini_set('error_reporting', E_ALL );
   
       define('WP_DEBUG', false);
   
       define('WP_DEBUG_LOG', true);
   
       define('WP_DEBUG_DISPLAY', false);
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘php warnings’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-121/#post-15101782)
 * Status: resolved