Support » Fixing WordPress » Facebook plugin error

  • Hello,

    I tried to add a facebook plugin to my site which then caused the following error message to appear.

    Fatal error: ‘break’ not in the ‘loop’ or ‘switch’ context in /home/ruralwis/public_html/wp-content/plugins/facebook/social-plugins/widgets/like-box.php on line 84

    Now I can’t access the website or the admin area as its just this message appearing.

    Please help! The website I’m talking about is


Viewing 4 replies - 1 through 4 (of 4 total)
  • Try renaming the plugin folder via FTP (within wp-content/plugins)

    Thanks Rajesh – can you explain further how to do this? I’ve tried going in to the c-panel via the website hosting site however not sure how to find the plugin folder.


    in c-panel go to File Manager, and you should be taken to a screen that looks like a Windows Explorer window with all of your web files. Go into wp-content and there should be a plug-in directory. That is where the folder for the facebook plug-in should be. You can rename that plug-in to something like “like-box-old” and that should allow you to log in to the website to make changes or to try a new plug-in or reinstall the plug-in. I hope that helps.

    Perfect – that did the job. Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Facebook plugin error’ is closed to new replies.