Use the Google sitekit plugin alongside the toolset suite of plugins. A recent update to either the toolset plugins or google sitekit introduced a conflict where the settings page in toolset will not load.
I expected to see:
The Toolset settings page in the wp-admin area.
Instead, I got:
The following errors:
Fatal error: Uncaught TypeError: Argument 1 passed to Google\Site_Kit\Core\REST_API\REST_Routes::register_routes() must be an instance of WP_REST_Server, string given, called in /www/wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php on line 93 and defined in /www/wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php:105 Stack trace: #0 /www/wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php(93): Google\Site_Kit\Core\REST_API\REST_Routes->register_routes('') #1 /www/wp-includes/class-wp-hook.php(287): Google\Site_Kit\Core\REST_API\REST_Routes->Google\Site_Kit\Core\REST_API\{closure}('') #2 /www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /www/wp-content/plugins/toolset-blocks/vendor/toolset/common-es/php/Block/Style/Responsive/ToolsetSettings.php(28): do_action('rest_api_init') #5 /www/wp-includes/class-wp-hook.php(289): ToolsetCommonEs\Block\Style\Responsive\Tools in /www/wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php on line 105
Cannot provide the debug info with Site Kit enabled... included it with the plugin disabled. I am running Site Kit by Google plugin v1.7.0