Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site Kit Plugin Makes Theme/Plugin crash in the admin #3016

Open
deLisle opened this issue Mar 28, 2024 · 0 comments
Open

Site Kit Plugin Makes Theme/Plugin crash in the admin #3016

deLisle opened this issue Mar 28, 2024 · 0 comments

Comments

@deLisle
Copy link

deLisle commented Mar 28, 2024

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:

  1. 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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant