Forums

[resolved] Can't get into website or admin after making a PHP change! (4 posts)

  1. mossanimal
    Member
    Posted 3 months ago #

    I made a change to a php file in sfc-publish to get rid of a facebook like button.. and I did something wrong. Now I can't get back to the admin to fix it!

    How can I fix???

  2. mossanimal
    Member
    Posted 3 months ago #

    I'm getting this error:

    Fatal error: Call to undefined function sfc_publish_make_excerpt() in /home/content/s/c/o/scottroush/html/wp-content/plugins/simple-facebook-connect/sfc-publish.php on line 346

    website is bigrockforge.com

  3. michael.mariart
    Member
    Posted 3 months ago #

    I'd download that plugin again, unzip the files and use FPT to upload the file that you tried to change so that it's the version from the plugin before any changes were made. Then, just try and do small updates to code - and remember to keep a backup of what was there before in case something like this happens again.

  4. WPyogi
    Volunteer Moderator
    Posted 3 months ago #

    Using FTP (or another file management system your host may use) go to the plugins folder and deactivate (change the name of the plugin folder) or delete that plugin.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.