Title: PHP Warning After Latest Update
Last modified: March 13, 2023

---

# PHP Warning After Latest Update

 *  Resolved [chargeup](https://wordpress.org/support/users/chargeup/)
 * (@chargeup)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/)
 * I’m receiving the following warning in my error logs after the latest update.
   Any idea how to resolve this?
 * PHP Warning: Invalid argument supplied for foreach() in /home/customer/www/….
   com/public_html/wp-content/plugins/google-listings-and-ads/src/MerchantCenter/
   MerchantStatuses.php on line 386

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/php-warning-after-latest-update/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/php-warning-after-latest-update/page/2/?output_format=md)

 *  [Saif](https://wordpress.org/support/users/babylon1999/)
 * (@babylon1999)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16554383)
 * Hello [@chargeup](https://wordpress.org/support/users/chargeup/),
   I’m not seeing
   any other reports of this error.Could you please share a copy of your site’s 
   System Status? You can find it via WooCommerce > Status. Select “Get system report”
   and then “Copy for support”.  Once you’ve done that, paste it here in your response
   or in a [Gist](https://gist.github.com/).Look forward to hearing back from you.
 *  Thread Starter [chargeup](https://wordpress.org/support/users/chargeup/)
 * (@chargeup)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16554617)
 * Thanks for such a quick response. Here is the system report:
 * ### WordPress Environment ###
 * WordPress address (URL): [https://www&#8230](https://www&#8230);..com
   Site address(
   URL): [https://www&#8230](https://www&#8230);..comWC Version: 7.4.1REST API Version:
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 *  7.4.1
   WC Blocks Version: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 *  9.4.4
   Action Scheduler Version: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 *  3.5.4
   Log Directory Writable: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * WP Version: 6.1.1
   WP Multisite: –WP Memory Limit: 768 MBWP Debug Mode: –WP Cron:–
   Language: en_USExternal object cache: –
 * ### Server Environment ###
 * Server Info: Apache
   PHP Version: 7.4.33PHP Post Max Size: 256 MBPHP Time Limit:
   120PHP Max Input Vars: 3000cURL Version: 7.85.0OpenSSL/3.0.8
 * SUHOSIN Installed: –
   MySQL Version: 5.7.39-42-logMax Upload Size: 256 MBDefault
   Timezone is UTC: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * fsockopen/cURL: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * SoapClient: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * DOMDocument: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * GZip: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * Multibyte String: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * Remote Post: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * Remote Get: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * ### Database ###
 * WC Database Version: 7.4.1
   WC Database Prefix: wfu_Total Database Size: 13.14MBDatabase
   Data Size: 9.55MBDatabase Index Size: 3.59MBwfu_woocommerce_sessions: Data: 0.02MB
   + Index: 0.02MB + Engine InnoDBwfu_woocommerce_api_keys: Data: 0.02MB + Index:
   0.03MB + Engine InnoDBwfu_woocommerce_attribute_taxonomies: Data: 0.02MB + Index:
   0.02MB + Engine InnoDBwfu_woocommerce_downloadable_product_permissions: Data:
   0.02MB + Index: 0.06MB + Engine InnoDBwfu_woocommerce_order_items: Data: 0.02MB
   + Index: 0.02MB + Engine InnoDBwfu_woocommerce_order_itemmeta: Data: 0.02MB +
   Index: 0.03MB + Engine InnoDBwfu_woocommerce_tax_rates: Data: 0.02MB + Index:
   0.06MB + Engine InnoDBwfu_woocommerce_tax_rate_locations: Data: 0.02MB + Index:
   0.03MB + Engine InnoDBwfu_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
   + Engine InnoDBwfu_woocommerce_shipping_zone_locations: Data: 0.02MB + Index:
   0.03MB + Engine InnoDBwfu_woocommerce_shipping_zone_methods: Data: 0.02MB + Index:
   0.00MB + Engine InnoDBwfu_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
   + Engine InnoDBwfu_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
   + Engine InnoDBwfu_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDBwfu_actionscheduler_actions:
   Data: 0.14MB + Index: 0.11MB + Engine InnoDBwfu_actionscheduler_claims: Data:
   0.02MB + Index: 0.02MB + Engine InnoDBwfu_actionscheduler_groups: Data: 0.02MB
   + Index: 0.02MB + Engine InnoDBwfu_actionscheduler_logs: Data: 0.09MB + Index:
   0.03MB + Engine InnoDBwfu_aws_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDBwfu_aws_index:
   Data: 0.34MB + Index: 0.30MB + Engine InnoDBwfu_commentmeta: Data: 0.02MB + Index:
   0.03MB + Engine InnoDBwfu_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDBwfu_e_events:
   Data: 0.02MB + Index: 0.02MB + Engine InnoDBwfu_e_notes: Data: 0.02MB + Index:
   0.17MB + Engine InnoDBwfu_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB
   + Engine InnoDBwfu_e_submissions: Data: 0.06MB + Index: 0.27MB + Engine InnoDBwfu_e_submissions_actions_log:
   Data: 0.02MB + Index: 0.11MB + Engine InnoDBwfu_e_submissions_values: Data: 0.09MB
   + Index: 0.03MB + Engine InnoDBwfu_gf_draft_submissions: Data: 0.02MB + Index:
   0.02MB + Engine InnoDBwfu_gf_entry: Data: 0.02MB + Index: 0.03MB + Engine InnoDBwfu_gf_entry_meta:
   Data: 0.02MB + Index: 0.05MB + Engine InnoDBwfu_gf_entry_notes: Data: 0.02MB 
   + Index: 0.03MB + Engine InnoDBwfu_gf_form: Data: 0.02MB + Index: 0.00MB + Engine
   InnoDBwfu_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDBwfu_gf_form_revisions:
   Data: 0.02MB + Index: 0.03MB + Engine InnoDBwfu_gf_form_view: Data: 0.02MB + 
   Index: 0.03MB + Engine InnoDBwfu_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB
   + Engine InnoDBwfu_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB 
   + Engine InnoDBwfu_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB +
   Engine InnoDBwfu_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDBwfu_gla_shipping_rates:
   Data: 0.02MB + Index: 0.05MB + Engine InnoDBwfu_gla_shipping_times: Data: 0.02MB
   + Index: 0.02MB + Engine InnoDBwfu_links: Data: 0.02MB + Index: 0.02MB + Engine
   InnoDBwfu_options: Data: 5.06MB + Index: 0.11MB + Engine InnoDBwfu_postmeta: 
   Data: 1.52MB + Index: 0.31MB + Engine InnoDBwfu_posts: Data: 0.22MB + Index: 
   0.06MB + Engine InnoDBwfu_sgs_log_events: Data: 0.05MB + Index: 0.00MB + Engine
   InnoDBwfu_sgs_log_visitors: Data: 0.08MB + Index: 0.00MB + Engine InnoDBwfu_termmeta:
   Data: 0.02MB + Index: 0.03MB + Engine InnoDBwfu_terms: Data: 0.02MB + Index: 
   0.03MB + Engine InnoDBwfu_term_relationships: Data: 0.02MB + Index: 0.02MB + 
   Engine InnoDBwfu_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDBwfu_tm_taskmeta:
   Data: 0.02MB + Index: 0.03MB + Engine InnoDBwfu_tm_tasks: Data: 0.02MB + Index:
   0.02MB + Engine InnoDBwfu_usermeta: Data: 0.03MB + Index: 0.03MB + Engine InnoDBwfu_users:
   Data: 0.02MB + Index: 0.05MB + Engine InnoDBwfu_wc_admin_notes: Data: 0.08MB 
   + Index: 0.00MB + Engine InnoDBwfu_wc_admin_note_actions: Data: 0.05MB + Index:
   0.02MB + Engine InnoDBwfu_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + 
   Engine InnoDBwfu_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDBwfu_wc_download_log:
   Data: 0.02MB + Index: 0.03MB + Engine InnoDBwfu_wc_order_coupon_lookup: Data:
   0.02MB + Index: 0.03MB + Engine InnoDBwfu_wc_order_product_lookup: Data: 0.02MB
   + Index: 0.06MB + Engine InnoDBwfu_wc_order_stats: Data: 0.02MB + Index: 0.05MB
   + Engine InnoDBwfu_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine
   InnoDBwfu_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine
   InnoDBwfu_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine
   InnoDBwfu_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDBwfu_wc_rate_limits:
   Data: 0.02MB + Index: 0.02MB + Engine InnoDBwfu_wc_reserved_stock: Data: 0.02MB
   + Index: 0.00MB + Engine InnoDBwfu_wc_tax_rate_classes: Data: 0.02MB + Index:
   0.02MB + Engine InnoDBwfu_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine 
   InnoDBwfu_woo_shippment_provider: Data: 0.09MB + Index: 0.00MB + Engine InnoDBwfu_wpmailsmtp_debug_events:
   Data: 0.02MB + Index: 0.00MB + Engine InnoDBwfu_wpmailsmtp_tasks_meta: Data: 
   0.02MB + Index: 0.00MB + Engine InnoDBwfu_wpr_rocket_cache: Data: 0.02MB + Index:
   0.05MB + Engine InnoDBwfu_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + 
   Engine InnoDBwfu_yoast_indexable: Data: 0.08MB + Index: 0.09MB + Engine InnoDBwfu_yoast_indexable_hierarchy:
   Data: 0.02MB + Index: 0.05MB + Engine InnoDBwfu_yoast_migrations: Data: 0.02MB
   + Index: 0.02MB + Engine InnoDBwfu_yoast_primary_term: Data: 0.02MB + Index: 
   0.03MB + Engine InnoDBwfu_yoast_seo_links: Data: 0.05MB + Index: 0.03MB + Engine
   InnoDB
 * ### Post Type Counts ###
 * astra-advanced-hook: 1
   attachment: 249custom_css: 1elementor_library: 2nav_menu_item:
   18page: 10post: 2product: 29revision: 32shop_order: 8wp_global_styles: 1
 * ### Security ###
 * Secure connection (HTTPS): 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * Hide errors from visitors: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * ### Active Plugins (20) ###
 * Advanced Woo Search: by ILLID – 2.74
   Astra Pro: by Brainstorm Force – 4.0.1Elementor
   Pro: by Elementor.com – 3.11.4Elementor: by Elementor.com – 3.11.3Google Listings
   and Ads: by WooCommerce – 2.4.0WP Armour – Honeypot Anti Spam: by Dnesscarkey–
   2.1.1Jetpack: by Automattic – 11.9Regenerate Thumbnails: by Alex Mills (Viper007Bond)–
   3.1.5SiteGround Optimizer: by SiteGround – 7.3.1SiteGround Security: by SiteGround–
   1.4.1Ultimate Addons for Elementor: by Brainstorm Force – 1.36.14Advanced Shipment
   Tracking for WooCommerce: by zorem – 3.5.2WooCommerce Conversion Tracking: by
   weDevs – 2.0.10WooCommerce Stripe Gateway: by WooCommerce – 7.2.0WooCommerce 
   Shipping & Tax: by WooCommerce – 2.2.3WooCommerce: by Automattic – 7.4.1Yoast
   SEO: by Team Yoast – 20.2.1WP Mail SMTP: by WPForms – 3.7.0WP Rocket | Deactivate
   WooCommerce Refresh Cart Fragments Cache: by WP Rocket Support Team –WP Rocket:
   by WP Media – 3.12.5.3
 * ### Inactive Plugins (1) ###
 * Gravity Forms: by Gravity Forms – 2.6.6
 * ### Dropin Plugins (1) ###
 * advanced-cache.php: advanced-cache.php
 * ### Settings ###
 * API Enabled: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * Force SSL: –
   Currency: USD ($)Currency Position: leftThousand Separator: ,Decimal
   Separator: .Number of Decimals: 2Taxonomies: Product Types: external (external)
   grouped (grouped)simple (simple)variable (variable)
 * Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
   exclude-
   from-search (exclude-from-search)featured (featured)outofstock (outofstock)rated-
   1 (rated-1)rated-2 (rated-2)rated-3 (rated-3)rated-4 (rated-4)rated-5 (rated-
   5)
 * Connected to WooCommerce.com: –
   Enforce Approved Product Download Directories:–
   Order datastore: WC_Order_Data_Store_CPT
 * ### WC Pages ###
 * Shop base: #5 – /shop/
   Cart: #6 – /cart/Checkout: #7 – /checkout/My account: #
   8 – /my-account/Terms and conditions: #3 – /terms-of-use/
 * ### Theme ###
 * Name: Astra
   Version: 1.0.0Author URL: [http://wpastra.com/about/](http://wpastra.com/about/)
   Child Theme: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * Parent Theme Name: Astra
   Parent Theme Version: 4.0.2Parent Theme Author URL: 
   [https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme](https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme)
   WooCommerce Support: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * ### Templates ###
 * Overrides: –
 * ### Admin ###
 * Enabled Features: activity-panels
   analyticscouponscustomer-effort-score-tracksimport-
   products-taskexperimental-fashion-sample-productsshipping-smart-defaultsshipping-
   setting-tourhomescreenmarketingmultichannel-marketingmobile-app-bannernavigationnew-
   product-management-experienceonboardingonboarding-tasksremote-inbox-notificationsremote-
   free-extensionspayment-gateway-suggestionsshipping-label-bannersubscriptionsstore-
   alertstransient-noticeswoo-mobile-welcomewc-pay-promotionwc-pay-welcome-page
 * Disabled Features: minified-js
   product-variation-managementsettings
 * Daily Cron: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 *  Next scheduled: 2023-03-13 16:18:13 -04:00
   Options: 
 * ![✔](https://i0.wp.com/fonts.gstatic.com/s/e/notoemoji/15.0/2714/32.png?ssl=1)
 * Notes: 104
   Onboarding: completed
 * ### Status report information ###
 * Generated at: 2023-03-13 09:55:35 -04:00
   `
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16554753)
 * Hello,
 * Can you temporarily switch your site theme to [Storefront](https://www.woocommerce.com/storefront/),
   and then make sure to disable all plugins except WooCommerce and Google Listings&
   Ads? Check if the issue is still present at this point.
 * If the issue is not present, you can switch back the theme, and then the plugins
   one by one until you find the cause of the issue.
 * We recommend the [Meks Quick Plugin Disabler](https://wordpress.org/plugins/meks-quick-plugin-disabler/),
   this plugin will remember what plugins you currently have active, so it’s easy
   to switch them back on.
 * Hope this helps.
 *  Thread Starter [chargeup](https://wordpress.org/support/users/chargeup/)
 * (@chargeup)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16554857)
 * Not sure if that is going to show anything if I switch themes and deactivate 
   plugins. Code suggests it’s for looking for account issues. The warning is showing
   once a day at roughly the exact same time. This is happening on both sites I’m
   using the Google Listings and Ads plugin on.
 * I think it has something to do with refreshing account issues each day.
 *     ```wp-block-code
       /*** Retrieve all account-level issues and store them in the database.** @throws Exception If the account state can't be retrieved from Google.*/protected function refresh_account_issues(): void {/** @var Merchant $merchant */$merchant       = $this->container->get( Merchant::class );$account_issues = [];$created_at     = $this->cache_created_time->format( 'Y-m-d H:i:s' );foreach ( $merchant->get_accountstatus()->getAccountLevelIssues() as $issue ) {$key = md5( $issue->getTitle() );
   
       if ( isset( $account_issues[ $key ] ) ) {$account_issues[ $key ]['applicable_countries'][] = $issue->getCountry();} else {$account_issues[ $key ] = ['product_id'           => 0,'product'              => __( 'All products', 'google-listings-and-ads' ),'code'                 => $issue->getId(),'issue'                => $issue->getTitle(),'action'               => $issue->getDetail(),'action_url'           => $issue->getDocumentation(),'created_at'           => $created_at,'type'                 => self::TYPE_ACCOUNT,'severity'             => $issue->getSeverity(),'source'               => 'mc','applicable_countries' => [ $issue->getCountry() ],];
   
       $account_issues[ $key ] = $this->maybe_override_issue_values( $account_issues[ $key ] );}}
       ```
   
 *  [xue28 (woo-hc)](https://wordpress.org/support/users/xue28/)
 * (@xue28)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16554878)
 * Hi [@chargeup](https://wordpress.org/support/users/chargeup/)
 * I understand that you are hesitant to try [@ihereira](https://wordpress.org/support/users/ihereira/)
   suggestion above but we would like to rule out if the error message above is 
   being caused by your theme or a third-party plugin present on your site.
 * A conflict is an error or malfunction caused by two parts of code giving conflicting
   signals. For example, plugin A gives the signal to put the order in “Completed”
   status and plugin B prevents this from happening.
 * Themes and plugins provide additional functionality and features — it also means
   more code is running on your website and the risk of incompatibility is higher.
   We strive to ensure compatibility with our own extensions, but third-party products
   made for WooCommerce are not guaranteed to work with our software. In this documentation
   page, we will explain how to test for plugin and theme conflicts.
 * Hence, can you please try to switch to the [default Storefront theme](https://woocommerce.com/storefront/)
   and only WooCommerce and Google Listings and Ads plugins are enabled and see 
   if this works?
 * If so, then this kind of problem is usually caused by your theme or a third-party
   plugin present on your site. We can run a conflict test to verify this. I’d recommend
   cloning your site to a staging environment and performing the tests described
   on this [guide](https://woocommerce.com/document/how-to-test-for-conflicts/) 
   without modifying your live site or impacting customers. Many hosts provide staging
   facilities, so it’s worth checking in with them. It’s also possible to do it 
   using the free [WP Staging](https://wordpress.org/plugins/wp-staging/) plugin.
 * If this was caused by a third-party plugin present on your site, it would be 
   best to reach out to the developers for further assistance here.
 * If this did not resolve the issue, please provide the **fatal error logs** (if
   any) under `WooCommerce > Status > Logs`.
 * You could copy and paste your reply here or paste it via [https://gist.github.com/](https://gist.github.com/)
   and send the link here.
 * Let us know how it goes!
 *  Thread Starter [chargeup](https://wordpress.org/support/users/chargeup/)
 * (@chargeup)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16555120)
 * Thanks. I’ve setup everything on staging and have switched to Storefront and 
   deactivated plugins. I’ll get back to you once I see the error.
 *  [xue28 (woo-hc)](https://wordpress.org/support/users/xue28/)
 * (@xue28)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16555140)
 * Hi [@chargeup](https://wordpress.org/support/users/chargeup/)
 * Sounds like a plan! Let us know how the testing goes!
 *  Thread Starter [chargeup](https://wordpress.org/support/users/chargeup/)
 * (@chargeup)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16555556)
 * Just want to let you know that the error continues with only the Storefront theme,
   WooCommerce, and Google Listings and Ads activated. Hope this helps.
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16556093)
 * Hi,
 * While I understand your point, please note it is a warning, which means it will
   not affect the site, it is not an error.
 * I’d recommend the following solutions to see if that makes a difference on your
   site, please check:
    - [How to hide PHP Warnings and Notices in WordPress](https://aristath.github.io/blog/wp-hide-php-errors)
    - [How to Turn Off PHP Errors](https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/)
 * Let us know if you need further help.
 *  Thread Starter [chargeup](https://wordpress.org/support/users/chargeup/)
 * (@chargeup)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16556145)
 * Thanks for the help. I’m aware of how to turn off errors and I understand that
   the warning is nothing to worry about. However, it’s a bit aggravating to have
   an error log that constantly fills up if it doesn’t need to.
 * Might want to fix the code in a future update to help solve that warning.
 *  [Roxy](https://wordpress.org/support/users/roxannestoltz/)
 * (@roxannestoltz)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16557041)
 * Hi [@chargeup](https://wordpress.org/support/users/chargeup/) ,
 * I hear you, and understand that this can be a frustrating experience.
 * Please could you clarify if this warning is being displayed anywhere on the front
   end of your site, or if this is only found in the error logs?
 * Also, can you try deactivating Google Listings and Ads, and then reactivating
   it to see if this clears up the warning message?
 * Let us know how this goes!
 *  Thread Starter [chargeup](https://wordpress.org/support/users/chargeup/)
 * (@chargeup)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16558078)
 * It’s not being displayed on the front end that I can see. It’s just filling up
   the error log.
 * It’s also not intermittent to just one site. The same warning is showing up every
   site using the plugin after the latest update.
 * Have you used it with a live Merchant Account to try and see the warning yourself?
   It happens at just about the exact same time every day which I’m assuming the
   plugin makes a scheduled call to Google Merchant to retrieve account data, issues,
   etc.
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16558354)
 * Hi,
 * I understand what you are saying.
 * Can you clear the site cache to see if that makes a difference? If not, please
   navigate to `WooCommerce > Status > Scheduled Actions` and see if there are any
   pending actions, and run them manually, allow some time after that to see if 
   that helps to resolve the issue.
 * Let us know how that goes.
 *  Thread Starter [chargeup](https://wordpress.org/support/users/chargeup/)
 * (@chargeup)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/#post-16558712)
 * It’s not caching. I cleared caching and also have it to automatically clear cache
   every 10 hours. I’ve also deactivated all unnecessary plugins and switched themes.
 * Scheduled actions are running just fine.
 * I’ve done all the basic debugging. Might just be something in your code you should
   look into. Thanks and good luck.
 *  [Saif](https://wordpress.org/support/users/babylon1999/)
 * (@babylon1999)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-after-latest-update/page/2/#post-16558889)
 * Hello [@chargeup](https://wordpress.org/support/users/chargeup/),
   Seems like 
   we’ll need to take a closer look. Could you please open a ticket about this from
   [WooCommerce.com > MY profile > Support](https://woocommerce.com/my-account/create-a-ticket/)?
 * Make sure to include a link to this thread so we know what has been done already.
   
   Cheers!

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/php-warning-after-latest-update/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/php-warning-after-latest-update/page/2/?output_format=md)

The topic ‘PHP Warning After Latest Update’ is closed to new replies.

 * ![](https://ps.w.org/google-listings-and-ads/assets/icon.svg?rev=2775988)
 * [Google for WooCommerce](https://wordpress.org/plugins/google-listings-and-ads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-listings-and-ads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-listings-and-ads/)
 * [Active Topics](https://wordpress.org/support/plugin/google-listings-and-ads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-listings-and-ads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-listings-and-ads/reviews/)

 * 18 replies
 * 6 participants
 * Last reply from: [Roxy](https://wordpress.org/support/users/roxannestoltz/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/php-warning-after-latest-update/page/2/#post-16632613)
 * Status: resolved