Encaught TypeError \constructor must be an array

[ad_1]

Not sure why this started today, but back end of WP site is crashing. Fatal PHP errors coming from Site Kit.

thrown in /home/xxx/public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Service.php on line 40 [27-Jun-2023 06:17:45 UTC] PHP Fatal error: Uncaught TypeError: Google\Site_Kit_Dependencies\constructor must be array or instance of Google\Client in /home/xxx/public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Service.php:40

Also

/home/xxx/public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics.php(85): Google\Site_Kit_Dependencies\Google\Service->__construct(Object(Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Proxy_Client))

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer