• My website just recently started messing up last night. I did not update or anything, really, it just started popping up these error messages. The actual web page gives this message when opened…

    Parse error: syntax error, unexpected T_STRING in /home/yousou5/public_html/index.php on line 17

    I tried opening the wp-admin dashboard and poke around only to find this error message popping up at me…

    Parse error: syntax error, unexpected T_REQUIRE_ONCE in /home/yousou5/public_html/wp-admin/index.php on line 13

    I have looked over the code in each file and can’t quite figure out what is wrong. I’m not even entirely sure which version of WordPress I’m using as I can’t log into the admin page to look! It should be pretty recent, however. Let me know what code I can copy in here and I will, I hope someone can figure it out as my site has been down all night.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter skittle61

    (@skittle61)

    As a matter of fact, let me just post the code that seems to be the culprit.

    https://www.yousoundlikearobot.com

    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');

    The wp-admin page seems to be pointing at these lines of code.

    /** Load WordPress Bootstrap */
    require_once('admin.php');
    
    /** Load WordPress dashboard API */
    require_once(ABSPATH . 'wp-admin/includes/dashboard.php');

    Try re-uploading all files & folders – except the wp-content folder – from a fresh download of your version of WordPress.

    Thread Starter skittle61

    (@skittle61)

    That seemed to work after a bit of troubleshooting to find out that Simple Tags is no longer supported. I’ll have to find something new to that regard, all seems well otherwise though.

    Thanks. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parse Errors’ is closed to new replies.