• Resolved slisje

    (@slisje)


    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 3 years ago by slisje.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @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

    (@slisje)

    Hi @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

    (@vmarko)

    Hello @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

    (@slisje)

    Hi @vmarko I am in contact with Bluehost, but they don’t think anything is blocking it.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @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

    (@slisje)

    @vmarko so I uninstalled then reinstalled clearing the cache both times but the exact same issues remain.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @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

    (@slisje)

    @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.