[Support request] Fatal error: Uncaught Error: Call to a member function flush_rules()

Home Forums General issues Fatal error: Uncaught Error: Call to a member function flush_rules()

This topic contains 1 reply, has 2 voices, and was last updated by  Mark 2 weeks, 1 day ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #283098 Reply

    Tolga Kavak
    Participant

    Hi

    I have purchased/installed the pro version. No errors on the site scan but I get the error below when I try to activate ssl:

    Fatal error: Uncaught Error: Call to a member function flush_rules() on null in /customers/5/e/6/the-siu.org.uk/httpd.www/membership/wp-includes/rewrite.php:276 Stack trace: #0 /customers/5/e/6/the-siu.org.uk/httpd.www/membership/wp-admin/includes/misc.php(480): flush_rewrite_rules() #1 /customers/5/e/6/the-siu.org.uk/httpd.www/membership/wp-includes/class-wp-hook.php(288): update_home_siteurl(‘http://membersh…’, ‘https://members…’) #2 /customers/5/e/6/the-siu.org.uk/httpd.www/membership/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #3 /customers/5/e/6/the-siu.org.uk/httpd.www/membership/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 /customers/5/e/6/the-siu.org.uk/httpd.www/membership/wp-includes/option.php(411): do_action(‘update_option_s…’, ‘http://membersh…’, ‘https://members…’, ‘siteurl’) #5 /customers/5/e/6/the-siu.org.uk/httpd.www/membership/wp-content/plugins/really-simple-ssl/class-admin.php(1127): update_option(‘siteurl’, ‘https://members…’) #6 /customers/5/e/6/the- in /customers/5/e/6/the-siu.org.uk/httpd.www/membership/wp-includes/rewrite.php on line 276
    The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

    Many thanks in advance.

    #283193 Reply

    Mark
    Keymaster

    Hi Tolga,

    this error can occur when a different plugin tries to flush the rewrite rules at the same time as Really Simple SSL. This shouldn’t happen because plugins should only flush their own rewrite rules. To fix this, you can temporarily disable other plugins to see which one is causing it. Alternatively, going back and pressing the ‘Go ahead, activate SSL!’ button a couple of times can also do the trick.

    Mark

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Fatal error: Uncaught Error: Call to a member function flush_rules()
Your information: