• I get the following error when I try to access my website, or even my admin panel: Parse error: syntax error, unexpected ‘/’, expecting case (T_CASE) or default (T_DEFAULT) or ‘}’ in /home/e562708/public_html/wp-includes/pluggable.php on line 304

    I’ve found similar errors online, but nothing the same. I didn’t receive any notification telling me that WordPress had upgraded to 4.0.1, but it might have. Either way, I have no access to my admin panel so I assume I’ll have to do this through the control panel, but I have no idea what to do.

    I last accessed the site about 3 days ago, had no issues and haven’t changed anything.

    I’m assuming a problem with an incompatible plugin? But how would I go about fixing that with no access to the dashboard?

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello 🙂

    Not sure if it happens due to WordPress version upgrade.
    It looks issue with the file /home/e562708/public_html/wp-includes/pluggable.php on line 304

    try editing the file using FTP or File manager, go to line 304 and check if there is any additional ‘/’ was added.

    Thread Starter Antbert_2

    (@antbert_2)

    Thank you for your reply! It appears the issue was that the update deleted a huge section of pluggable.php, which may relate to that shortcode link. Either way, it’s something I’ll bear in mind if any other issues happen after this upgrade. I restored the original pluggable file and it’s working fine now.

    If anyone else is having this issue, apparently the updating may not yet be complete, so it’s worth waiting until tomorrow before blindly panicking (like I did).

    Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    The update should be complete within 30 seconds or not at all. If you got an incomplete update, then I advise getting a fresh copy of the WordPress 4.0.1 zip file from here, and making certain that all the files on your install are fresh and new.

    Instead of full replace of the wordpress using 4.0.1 zip, you can simply replace the wp-includes folder.

    Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    It is better to replace everything, as if one file was broken, it’s uncertain what other files may be broken as well. Additionally, it might not have been WordPress that performed the upgrade, but some process from the hosting service, which means that more than just files in wp-includes may be affected.

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

The topic ‘Parse Error pluggable.php unexpected '/'’ is closed to new replies.