Support » Fixing WordPress » PHP Fatal Error wp_rewrite_rules()

  • Resolved LordDunvegan

    (@lorddunvegan)


    I have seen other people mention this, but cannot match the circumstances. I am not a PHP programmer, but just noticed I am generating enormous error logs.
    All plug-in are up to date and am using BuddyBoss theme.

    Full error is
    PHP Fatal error: Call to a member function wp_rewrite_rules() on a non-object in /var/www/html/wp-includes/rewrite.php on line 510, referer: https://explore.scimednet.org/wp-admin/post.php?post=7$

    This looks like core code and is happening several times each minute.

    Can anyone help please?

    Thanks

    Richard

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steve Stern

    (@sterndata)

    Support Volunteer

    disable all plugins and change your theme to twentysixteen. If the problem goes away, re-enable things one at a time until you see it return. Then, we have something to talk about.

    LordDunvegan

    (@lorddunvegan)

    Thank you. Will try this on my test server. I cannot do it on the live one.
    Richard

    LordDunvegan

    (@lorddunvegan)

    Well that was interesting. When I looked at the error log on the test server, the error was not there. I then did a comparison of active plug-ins and discovered PhpSword Google Analytics was not installed. After installing it the errors appeared. I have now deactivated it on the live site and the errors have stopped as far as I can tell.

    Thank you for pointing me in the right direction

    Richard

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Fatal Error wp_rewrite_rules()’ is closed to new replies.