WordPress.org

Ready to get started?Download WordPress

Forums

Can't access dashboard: Fatal error: Call to a member function add_rewrite_tag( (2 posts)

  1. woolfest
    Member
    Posted 2 years ago #

    I did not set up my companies wordpress site but am having to manage it in my new role in a very very small company - I am learning on the go and have come across an error which is stopping me from being able to access the back end of our site.

    Fatal error: Call to a member function add_rewrite_tag() on a non-object in /home2/woollahr/public_html/wp-includes/rewrite.php on line 51
    I am

    Can anyone help me?

    Thank you so much.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Try:
    - switching to the default theme by renaming your current theme's folder inside wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of your current version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Topic