Hi sorry wbrubaker, issue still persists and was only found yesterday. The wp_options trick was working before.
Checked woocommerce logs and the last critical error was a few days ago. Not sure if this will help.
2021-06-29T04:12:47+00:00 CRITICAL Uncaught TypeError: Return value of Automattic\WooCommerce\GoogleListingsAndAds\Options\AccountState::get() must be of the type array, string returned in /www.../public/wp-content/plugins/google-listings-and-ads/src/Options/AccountState.php:61
Stack trace:
#0 .../public/wp-content/plugins/google-listings-and-ads/src/Options/AccountState.php(94): Automattic\WooCommerce\GoogleListingsAndAds\Options\AccountState->get(false)
#1 .../public/wp-content/plugins/google-listings-and-ads/src/MerchantCenter/MerchantCenterService.php(144): Automattic\WooCommerce\GoogleListingsAndAds\Options\AccountState->last_incomplete_step()
#2 .../public/wp-content/plugins/google-listings-and-ads/src/API/Site/Controllers/MerchantCenter/AccountController.php(237): Automattic\WooCommerce\GoogleListingsAndAds\MerchantCenter\MerchantCenterService->get_connected_status()
#3 .../public/wp-includes/rest-api/class-wp-rest-server.php(1139): Automattic\WooCommerce\Google in /www...public/wp-content/plugins/google-listings-and-ads/src/Options/AccountState.php on line 61
And here’s the one from GLA
2021-07-02T01:14:22+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\API\Google\MerchantReport::get_report_data {"statusCode":401,"error":"Unauthorized","message":"Site is not connected to Google account for google-mc"}
Edit: Code formatting
-
This reply was modified 3 years, 4 months ago by konjx.
-
This reply was modified 3 years, 4 months ago by konjx.
-
This reply was modified 3 years, 4 months ago by konjx.
-
This reply was modified 3 years, 4 months ago by konjx.
-
This reply was modified 3 years, 4 months ago by konjx.
-
This reply was modified 3 years, 4 months ago by konjx.
-
This reply was modified 3 years, 4 months ago by konjx.