Uncaught TypeError: constructor must be array or instance of Google\Client
-
Hey,
we are getting critical error from your plugin after deleting a post from WP admin panel.
It looks like a google/apiclient-services library has changed and it’s not compatible with your plugin.We are using the latest version of your plugin 1.1.16 but previous versions are also not working (they are throwing an error too).
Fatal error: Uncaught TypeError: constructor must be array or instance of Google\Client
Stacktrace:
in /ROOT_DIRECTORY/wp-content/plugins/fast-indexing-api/vendor/google/apiclient/src/Service.php:43 Stack trace: #0 /ROOT_DIRECTORY/wp-content/plugins/fast-indexing-api/vendor/google/apiclient-services/src/Indexing.php(52): Google\Service->__construct() #1 /ROOT_DIRECTORY/wp-content/plugins/fast-indexing-api/includes/class-instant-indexing.php(377): Google\Service\Indexing->__construct() #2 /ROOT_DIRECTORY/wp-content/plugins/fast-indexing-api/includes/class-instant-indexing.php(1093): RM_GIAPI->send_to_api() #3 /ROOT_DIRECTORY/wp-includes/class-wp-hook.php(307): RM_GIAPI->delete_post() #4 /ROOT_DIRECTORY/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #5 /ROOT_DIRECTORY/wp-includes/plugin.php(476): WP_Hook->do_action() #6 /ROOT_DIRECTORY/wp-includes/p in /ROOT_DIRECTORY/wp-content/plugins/fast-indexing-api/vendor/google/apiclient/src/Service.php on line 43
Best
- The topic ‘Uncaught TypeError: constructor must be array or instance of Google\Client’ is closed to new replies.