Skip to content

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

Open
@deLisle

Description

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'

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions