Support » Plugin: Query Monitor » Missing Dependencies in Query Monitor with wp-auth-check and heatbeat (missing)

  • So after debugging this problem for literally two hours I decided to google it and low and behold found it was a problem with WPEngine. Ugh.

    Looking at WPEngine’s wpengine-common plugin in the /mu-plugins directory and given how much time I wasted on this I figured I should post the fix for those who are smart enough to google the problem first, unlike me.

    Add the following as a plugin, or to your theme’s functions.php file and it will stop WPEngine from disabling 'heartbeat' and will thus eliminate the error message on Query Monitor:

    add_filter( 'wpe_heartbeat_allowed_pages', function( $pages ) {
    	global $pagenow;
    	$pages[] =  $pagenow;
    	return $pages;
    });

    Hope this helps.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.