WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Locked out of WP Admin and my site - Help. (4 posts)

  1. Niramaya
    Member
    Posted 1 year ago #

    Help! While adding Facebook Open Graph Meta code (http://www.wpbeginner.com/wp-themes/how-to-add-facebook-open-graph-meta-data-in-wordpress-themes/) to my functions.php file, I locked myself out completely and I receive this error message (http://reasonandfolly.com/wp-login.php). It appears I already had an active plugin doing the same and it was not deactivated prior to adding this code. I cannot login to switch it off! Is there a way out?

    Thanks!

  2. I would log onto your server via FTP, download your functions.php, remove the code that you added and then re-upload it.
    That should get rid of the code.

  3. Niramaya
    Member
    Posted 1 year ago #

    Thanks a million! It worked.

  4. Awesome. Glad I could help.

    I've marked this thread as resolved so that others with the same issue may benefit from it, but if you have further issues, don't hesitate to come back and post another question.

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags