Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #30631
    David
    Guest

    I get the following message upon activating the plugin: Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /home/xxxxxx/public_html/wp-content/plugins/w3-total-cache/Extension_FragmentCache_Plugin_Admin.php on line 2
    What should I do?
    Thx

    #30632
    Jesse Owens
    Guest

    Hello David-

    Thank you for the question, I’m sorry that you’re not able to activate W3 Total Cache.

    Generally speaking, the error message you’re seeing is caused by an extra whitespace character on line 1 of the file, e.g.

    <?php 
         ^-Look for a space or special character here after php

    This may have been caused by opening the file in a non-standard code editor and saving the file. You may also want to delete the plugin and re-install it from the WordPress repository.

    I hope this helps!

    #30633
    David
    Guest

    I removed W3 yet the following show on top of the dashboard:  files appear to be missing or out of place. Please re-install plugin or remove /home/xxxxxx/public_html/wp-content/advanced-cache.php. And it seems to be connected to Media Folders plugin by Max Foundry, I refused to update this plugin as I don’t use it as much anymore. any suggestions?

    #30634
    Jesse Owens
    Guest

    Hi David- 
    Sorry to hear that you’re still having trouble. 

    Since you removed the W3 Total Cache plugin directory manually, you’ll also need to delete the file mentioned in the error message, /wp-content/advanced-cache.php. 

    May I ask what leads you to believe that Media Folders is connected with the issue? I highly recommend keeping your active plugins up to date, even if you rarely use them, as they might be fixing errors with new WordPress versions or patching security flaws. Consider deactivating the plugin, if you no longer need to use it at all.

    I hope this helps!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Error Message’ is closed to new replies.