Getting fatal errors with Google Listings- array not string?
-
My action scheduler is filled with failed actions such as:
gla/jobs/update_merchant_product_statuses/process_item
gla/jobs/update_products/process_item
And then today when I was marking a published product as draft a fatal error occured on my site. Here’s the details that were included with the email wordpress sent-
An error of type E_ERROR was caused in line 270 of the file /nas/content/live/showit28976/wp-content/plugins/google-listings-and-ads/src/Product/ProductHelper.php. Error message: Uncaught TypeError: Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductHelper::get_synced_google_product_ids(): Return value must be of type ?array, string returned in /nas/content/live/showit28976/wp-content/plugins/google-listings-and-ads/src/Product/ProductHelper.php:270
The site is back up again but I have no idea how to fix this issue. I also have about 10 products that never sync with google listings. and on the product feed overview, I also always get this status: There was an error loading the Overview Stats. Click to retry.array_key_first(): Argument #1 ($array) must be of type array, string given
- The topic ‘Getting fatal errors with Google Listings- array not string?’ is closed to new replies.