• Resolved antekapa

    (@antekapa)


    Hi, I’m using this plugin for a long time without issues, but today my log file is full with over 400 lanes all the same:

    ‘[14-Jan-2024 07:03:49 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /public_html/wp-content/plugins/google-listings-and-ads/src/MerchantCenter/MerchantStatuses.php on line 472’

    I’m guessing that is been the moment when sync the products with Google. I have not changed anything on the site more that 2 weeks, except updating your plugin few days ago.

    Do you have an idea what is the problem?

    Thanks!

    • This topic was modified 10 months, 1 week ago by antekapa.
Viewing 2 replies - 16 through 17 (of 17 total)
  • @vorticy, the root problem is with the vendor package they use written by Google. The function that is called to get the account statusses claims it will return an array, but if there aren’t any account issues, it returns null.

    Nevertheless I totally agree that they could very simply include a null check in the plugin, and they should do so.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello koningsvh

    Thank you for your message in this thread.

    I appreciate your feedback and suggestions about the plugin.
    Rest assured, I will communicate this to the relevant team.

    We value your input as it helps the plugin to evolve and improve further.

    Have a great day!

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Many errors in the log file’ is closed to new replies.