Title: PHP Errors
Last modified: March 4, 2022

---

# PHP Errors

 *  Resolved [slisje](https://wordpress.org/support/users/slisje/)
 * (@slisje)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-errors-267/)
 * hi, I’m getting a few errors on my site. Currently running php 7.4 WP 5.9.1 and
   latest W3TotalCache.
 * I’m wondering if the issue with the Root_Loader.php is causing the website not
   to load all of its content when cache is cleared unless all pages are visited
   manually. (Its a pain, I had to create an app to load the pages one by one).
 * PHP Warning: include_once(…/public_html/wp-content/plugins): failed to open stream:
   Success in …/public_html/wp-content/plugins/w3-total-cache/Root_Loader.php on
   line 155
    PHP Warning: include_once(): Failed opening ‘…/public_html/wp-content/
   plugins/’ for inclusion (include_path=’.:/opt/cpanel/ea-php74/root/usr/share/
   pear’) in …/public_html/wp-content/plugins/w3-total-cache/Root_Loader.php on 
   line 155
 * and Line 615 Minify_Plugin.php below is depreciated
    case ( is_paged() && ( $
   template_file = get_paged_template() ) ):
 * PHP Deprecated: get_paged_template is **deprecated** since version 4.7.0 with
   no alternative available.
    -  This topic was modified 4 years, 3 months ago by [slisje](https://wordpress.org/support/users/slisje/).

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-errors-267/#post-15427626)
 * Hello [@slisje](https://wordpress.org/support/users/slisje/)
 * Thank you for reaching out.
    These are not PHP Errors, but PHP warnings. Can 
   you please share which extensions you have activated in Performance>Extension?
   and can you please disable those extensions and see if you are still getting 
   the warnings? Thanks!
 *  Thread Starter [slisje](https://wordpress.org/support/users/slisje/)
 * (@slisje)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-errors-267/#post-15427827)
 * Hi [@vmarko](https://wordpress.org/support/users/vmarko/) extensions enabled 
   are CloudFlare, Google FeedBurner, Fragment Cache, and Yoast SEO.
 * I turned them all off and cleared the cache but the warning is still there.
 * Do you think this could be a server whitelist issue?
 * Failed opening ‘…/public_html/wp-content/plugins/’ for inclusion (include_path
   =’.:/opt/cpanel/ea-php74/root/usr/share/pear’)
 * include_once(…/public_html/wp-content/plugins): failed to open stream: Success
   in …/public_html/wp-content/plugins/w3-total-cache/Root_Loader.php on line 155
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-errors-267/#post-15434266)
 * Hello [@slisje](https://wordpress.org/support/users/slisje/)
 * Thank you for the information.
    The problem is that this function Loads extensions
   stored in config. At line 155:
 *     ```
       if ( file_exists( $filename ) ) {
       	include_once( $filename );
       ```
   
 * You are correct that this may be caused by the server whitelist as it’s blocking
   the path to `$filename = W3TC_EXTENSION_DIR . '/'`
 * I hope this helps!
 * Thanks!
 *  Thread Starter [slisje](https://wordpress.org/support/users/slisje/)
 * (@slisje)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-errors-267/#post-15442302)
 * Hi [@vmarko](https://wordpress.org/support/users/vmarko/) I am in contact with
   Bluehost, but they don’t think anything is blocking it.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-errors-267/#post-15446387)
 * Hello [@slisje](https://wordpress.org/support/users/slisje/)
 * Thank you for the feedback.
    Something is blocking the extensions in your case.
   I would advise making a backup of wp-content/w3tc-config/master.php file and 
   completely removing and re-install W3 Total Cache. Thanks!
 *  Thread Starter [slisje](https://wordpress.org/support/users/slisje/)
 * (@slisje)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-errors-267/#post-15447338)
 * [@vmarko](https://wordpress.org/support/users/vmarko/) so I uninstalled then 
   reinstalled clearing the cache both times but the exact same issues remain.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-errors-267/#post-15449234)
 * Hello [@slisje](https://wordpress.org/support/users/slisje/)
 * Thank you for yoru feedback.
    Do you have any security plugins perhaps? Try disabling
   the plugins and see if there is a conflict somewhere. Can you please also specify
   when did you start to experience these PHP warnings? Have you made any updates
   on your server or similar? Thanks!
 *  Thread Starter [slisje](https://wordpress.org/support/users/slisje/)
 * (@slisje)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-errors-267/#post-15453569)
 * [@vmarko](https://wordpress.org/support/users/vmarko/) Hi have Wordfence installed,
   I cant deactivate it at the moment as someone has got a hold of my admin name
   and keeps trying. Its only the 2FA keeping them aout at the moment. Until I can
   find a way to change my admin username as when I do I cant login.

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

The topic ‘PHP Errors’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

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

 * 8 replies
 * 2 participants
 * Last reply from: [slisje](https://wordpress.org/support/users/slisje/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/php-errors-267/#post-15453569)
 * Status: resolved