• Hello everyone, so i was editing a php of a plugin and there was a syntax error and took the whole site down, i can’t even access the admin login! this is all i see trying to login or accessing the website itself:

    Parse error: syntax error, unexpected T_RETURN in /home/content/04/10932704/html/CCM/wp-content/plugins/simple-membership/classes/class.bFrontRegistration.php on line 62

    help pls!

Viewing 3 replies - 1 through 3 (of 3 total)
  • What you’ll need ot do is download a copy of the plugin again, un-zip the files and use FTP to upload them to your server. This will over-write any changes that you’ve made before, but you’ll get your site back.

    One thing to remember is that modifying plugin files is pretty much the same as editing core files – it really shouldn’t be done! The next time that plugin updates any changes that you’ve made will be lost again anyway, so it’s better to try and do things other ways if possible.

    It is not recommended to edit plugins unless if they are your own. My suggestions is to download the plugin to your desktop and then use a FTP client program such as FileZilla and upload that file to the server.

    Thread Starter wolfnuka

    (@wolfnuka)

    ok, i can’t manage to make a FTP connection, i think is disabled from the server end, i contacted the host provider to see if they can do anything, hopefully they won’t take long to reply, thx for the quick response you guys, i’ll make sure not to mess with the plugins next time

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit on plugin crashed website!’ is closed to new replies.