You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 18, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 18, 2026. It is now read-only.
Site Kit Plugin Makes Theme/Plugin crash in the admin #3016
Describe the bug
As soon as you activate the Site Kit from Google plugin the site/admin crashes and you have to change the folder name of google-site-kit to something else for anything to work. This happens to all my sites using the Newspack theme and plugin.
To Reproduce
Steps to reproduce the behavior:
Activate Google Site Kite Plugin.
Here is a copy paste from the error log(domain hidden)
[Thu Mar 28 10:45:58.972484 2024] [proxy_fcgi:error] [pid 2193037:tid 140262793786944] [client 176.58.97.31:40362] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class "Google\Site_Kit\Modules\Analytics\Settings" not found in /var/www/DOMAIN/wp-content/plugins/newspack-plugin/includes/plugins/google-site-kit/class-googlesitekit.php:136\nStack trace:\n#0 /var/www/DOMAIN/wp-includes/class-wp-hook.php(324): Newspack\GoogleSiteKit::setup_sitekit_ga4()\n#1 /var/www/DOMAIN/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#2 /var/www/DOMAIN/wp-includes/plugin.php(517): WP_Hook->do_action()\n#3 /var/www/DOMAIN/wp-admin/admin-ajax.php(45): do_action()\n#4 {main}\n thrown in /var/www/DOMAIN/wp-content/plugins/newspack-plugin/includes/plugins/google-site-kit/class-googlesitekit.php on line 136'
Activity