Fix Uncaught Error: Illegal offset type in vip-debug-bar-panels.php

Receiving the following error when trying to add a new page in the WordPress admin on a local install of a WordPress VIP site:

Fix Fatal error: Uncaught Error: Illegal offset type in isset or empty in mu-plugins/vip-helpers/vip-debug-bar-panels.php on line 384

Fixed (locally) by modifying the function to return early:

public function log_http_requests( $args, $url ) {
	return $args;
	/* ... */
}

Leave a Reply

Your email address will not be published. Required fields are marked *