• Resolved lockoloop

    (@lockoloop)


    Hi,

    Since I recently updated the plugin (a few days ago), I’ve started getting an undefined array error which in turn triggers a fatal error:

    Warning: Undefined array key “google-ads” in /google-listings-and-ads/src/MultichannelMarketing/GLAChannel.php on line 195

    Fatal error: Uncaught TypeError: Automattic\WooCommerce\Admin\Marketing\MarketingCampaign::__construct(): Argument #2 ($type) must be of type Automattic\WooCommerce\Admin\Marketing\MarketingCampaignType, null given, called in /google-listings-and-ads/src/MultichannelMarketing/GLAChannel.php on line 194 and defined in /woocommerce/src/Admin/Marketing/MarketingCampaign.php:60

    What does this do and how can I fix it?

Viewing 1 replies (of 1 total)
  • Hi there @lockoloop ??

    Thank you for reaching out about this.

    Since I recently updated the plugin (a few days ago), I’ve started getting an undefined array error which in turn triggers a fatal error

    While testing with the latest version of Google Listings & Ads, on a test site of mine, I was not able to reproduce this. There appear to be no issues reported on GitHub either.

    To get an idea of how your site is configured, 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.

    Furthermore, can you please share a screenshot of the error screen? Here’s how to make a screenshot:

    https://wordpress.com/support/make-a-screenshot/

    Looking forward to hearing from you!

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined array key “google-ads” in GLAChannel.php’ is closed to new replies.