Title: PHP 7 Compatibility Error
Last modified: October 20, 2024

---

# PHP 7 Compatibility Error

 *  Resolved [Robert Peake](https://wordpress.org/support/users/robertpeake/)
 * (@robertpeake)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/php-7-compatibility-error-7/)
 * php 7.4.x requires explicit referral to root namespace, which is fully forwards-
   compatible with later versions to resolve undefined function Breeze_Cache_Init\
   is_404() in inc/cache/execute-cache.php:25:
 *     ```wp-block-code
       254     // Don't cache search, 404, or password protected255     if ( \is_404() || \is_search() || \post_password_required() ) {256         return $buffer;257     }
       ```
   

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

 *  Plugin Author [owaisalam](https://wordpress.org/support/users/owaisalam/)
 * (@owaisalam)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/php-7-compatibility-error-7/#post-18095469)
 * Thank you for reaching out to us. We’re currently reviewing your request and 
   will provide you with an update as soon as possible. We appreciate your patience
   in the meantime.
 *  Thread Starter [Robert Peake](https://wordpress.org/support/users/robertpeake/)
 * (@robertpeake)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/php-7-compatibility-error-7/#post-18095477)
 * More information: this was happening when files were being routed through the
   legacy ms-files.php in multisite mode. Our workaround was to get rid of this 
   and go direct to the filesystem or image files, bypassing Breeze altogether.
 *  Plugin Author [owaisalam](https://wordpress.org/support/users/owaisalam/)
 * (@owaisalam)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/php-7-compatibility-error-7/#post-18104968)
 * Thank you for providing the additional details. We have successfully replicated
   the point you mentioned and will include the fix in our upcoming releases.
 *  Thread Starter [Robert Peake](https://wordpress.org/support/users/robertpeake/)
 * (@robertpeake)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/php-7-compatibility-error-7/#post-18105048)
 * Great, glad that was useful!

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

The topic ‘PHP 7 Compatibility Error’ is closed to new replies.

 * ![](https://ps.w.org/breeze/assets/icon-256x256.gif?rev=3352595)
 * [Breeze Cache](https://wordpress.org/plugins/breeze/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/breeze/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/breeze/)
 * [Active Topics](https://wordpress.org/support/plugin/breeze/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/breeze/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/breeze/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Robert Peake](https://wordpress.org/support/users/robertpeake/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/php-7-compatibility-error-7/#post-18105048)
 * Status: resolved