• Resolved theotherai

    (@theotherai)


    Hi!
    I’ve noticed the following PHP warning in my debug log today:

    PHP Warning: foreach() argument must be of type array|object, null given in /…/wp-content/plugins/google-listings-and-ads/src/API/Google/MerchantReport.php on line 78

    Can you look into this?
    Thanks in advance.

    Best,
    Ingo

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there @theotherai ??

    Thanks for reaching out about this. Let’s troubleshoot it together!

    I’ve noticed the following PHP warning in my debug log today:

    PHP Warning: foreach() argument must be of type array|object, null given in /…/wp-content/plugins/google-listings-and-ads/src/API/Google/MerchantReport.php on line 78

    Can you look into this?

    This sounds like being just one piece of the puzzle. Let’s gather some more, for getting a clearer picture.

    As a first step, could you please elaborate further on any theme/plugin/server upgrades that might have happened around the same timeframe?

    The latest release (version 2.5.17) was made public on February 7. Is the site running this version, or another?

    Moreover, just to clarify, did you already have a chance to test with reverting to the previous version, 2.5.16 (directly linked here), and see if the issue persists, or otherwise, on your end?

    The?WP Rollback?plugin (linked here) might come in handy for reverting to the previous version.

    Should the issue persist, despite testing with version 2.5.16, to get an idea of how your site is configured, kindly share a copy of your site’s System Status, as exemplified here. Once you’ve done that, paste it here in your response.

    I hope this helps! Looking forward to hearing from you!

    Thread Starter theotherai

    (@theotherai)

    Hi Pepe,

    thanks for the quick reply!

    I’m running on version 2.5.16, my server is running on PHP 8.2.

    I’ve generated the system status report and this is what I noticed:

    SoapClient: ? Dein Server verfügt nicht über eine lauff?hige Version der SoapClient Klasse – einige Zahlungsschnittstellen welche SOAP nutzen funktionieren unter Umst?nden nicht korrekt.

    I will contact my hosting provider and see if the issue persists.

    Best,
    Ingo

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @theotherai,

    I will contact my hosting provider and see if the issue persists.

    This sounds like a good idea, please let us know how it goes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Warning’ is closed to new replies.