WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Parse error: syntax error, unexpected T_STRING (5 posts)

  1. idea247
    Member
    Posted 2 years ago #

    Hello, I'm trying to uninstall WP Super Cache and I get the following error:
    Parse error: syntax error, unexpected T_STRING in /home/website/public_html/wp-config.php on line 47

    How can I uninstall?

    Thanks...

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. James Revillini
    Member
    Posted 2 years ago #

    Do you know how to edit php files? Can you just tell us what you have around line 45 - 50 in wp-config.php in your site root?

    Uninstalling won't help if wp-config.php became corrupted.

  3. idea247
    Member
    Posted 2 years ago #

    Thank you for the response, jrevillini... Out of desperation because the website was supposed to be launching, I renamed wp-config-sample.php to wp-config.php and reentered some of the required information. That allowed me to deactivate and delete wp-super-cache and restore the website to normal. It's supposedly a must have for WP websites, but I'm now afraid to reinstall it, since a few days ago, another plugin had practically destroyed the website causing the loss of 7 days of work.

    I wonder if there's a WP optimization service that one can hire.

    Anyhow,grateful for the little things...

    Cheers, and have a fulfilling day.

  4. James Revillini
    Member
    Posted 2 years ago #

    1) set up a mirror site where you can test first; the half hour you lose setting it up will be repaid 10x over next time a plugin bricks your site.

    2) get WordPress Database Backup and install it on the production site and set it to send your database to you daily or more often. Now you will never lose more than 1 day of work.

    3) there are plugins to zip your site files and store them elsewhere daily, but I haven't found a good one for windows servers yet. But if you're on Linux, explore these.

    Good luck!

  5. idea247
    Member
    Posted 2 years ago #

    Will do! Thanks again! Stay well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic