• Resolved Jason Davis

    (@batgeek)


    This plugin created a issues where I could not login to my website creating a critical error for the /wp-admin

    See below:

    [php:error] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in …/wp-includes/functions.php:5834\nStack trace:\n#0 …/wp-includes/functions.php(5834): in_array(‘mod_rewrite’, NULL, true)\n#1 …/wp-admin/includes/misc.php(17): apache_mod_loaded(‘mod_rewrite’, true)\n#2 …/wp-admin/includes/misc.php(267): got_mod_rewrite()\n#3 …/wp-includes/class-wp-rewrite.php(1874): save_mod_rewrite_rules()\n#4 …/wp-includes/rewrite.
    php(281): WP_Rewrite->flush_rules(true)\n#5 …/wp-content/plugins/accelerated-mobile-pages/accelerated-moblie-pages.php(426): flush_rewrite_rules()\n#6 …/wp-includes/class-wp-hook.php(307): ampforwp_flush_after_update(”)\n#7 …/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)\n#8 …/wp-includes/plugin.php(474): WP_Hook->do_action(Array)\n#9 …/wp-admin/admin.php(175): do_action(‘admin_init’)\n#10 …/wp-admin/index.php(10): require_once(‘/nas/content/li…’)\n#11 {main}\n thrown in …/wp-includes/functions.php on line 5834, referer: …/wp-login.
    php?redirect_to=https…wp-admin%2F&reauth=1

    This indicates some issue with the plugin accelerated-mobile-pages`

Viewing 1 replies (of 1 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @batgeek

    Thank you for contacting us, from the path you posted along with the plugin slug accelerated-mobile-pages, I guess you are using another AMP plugin named AMP for WP.

    We are an official AMP plugin with slug just amp

    Please create a support topic in that plugins support forum

Viewing 1 replies (of 1 total)
  • The topic ‘Broke site login on WP Engine’ is closed to new replies.