Title: PHP Notice Error
Last modified: March 10, 2021

---

# PHP Notice Error

 *  Resolved [jesseslam](https://wordpress.org/support/users/jesseslam/)
 * (@jesseslam)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-notice-error-9/)
 * Hi,
 * On our home page we are using the WooCommerce featured image slider built into
   Avada and it’s showing the below errors. I have updated everything, I have uninstalled
   and reinstalled the plugin, I have also added the code into the config file to
   hide notices but they still show. For the time being I have disabled the plugin
   until this can be fixed if possible does anyone have a any ideas on how to fix
   this?
 * Notice: Trying to access array offset on value of type null in /home/tudorcoffeeco/
   public_html/wp-content/plugins/woocommerce-google-analytics-integration/includes/
   class-wc-google-analytics.php on line 572
 * Notice: Trying to access array offset on value of type null in /home/tudorcoffeeco/
   public_html/wp-content/plugins/woocommerce-google-analytics-integration/includes/
   class-wc-google-analytics.php on line 585
 * Thanks,
 * Jim Isles
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-notice-error-9%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Stuart Duff – a11n](https://wordpress.org/support/users/stuartduff/)
 * (@stuartduff)
 * Automattic Happiness Engineer
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-notice-error-9/#post-14191132)
 * Hi [@jesseslam](https://wordpress.org/support/users/jesseslam/),
 * I’ve performed some cross-testing for us today on several of my sites which have
   the latest versions of WordPress, WooCommerce and our free [Storefront](https://wordpress.org/themes/storefront/)
   theme as the only enabled software. When doing so I’ve not been able to replicate
   the behaviour which you describe with any error message displaying related to
   the WooCommerce Google Analytics Integration plugin.
 * From what you’ve described it sounds like the error message could be being initiated
   by the WooCommerce featured image slider which is within the Avada theme. If 
   you temporarily switch to a theme like [Storefront](https://wordpress.org/themes/storefront/)
   do you still see the error message displaying anywhere on your site?
 *  Thread Starter [jesseslam](https://wordpress.org/support/users/jesseslam/)
 * (@jesseslam)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-notice-error-9/#post-14191413)
 * Hi,
 * I wouldn’t be able to do this because the slider is built into the theme and 
   by changing the theme would disable the featured product slider. Sounds like 
   the issue is with the theme then I’ll swap the slider for static images.
 * Thanks,
 * James
 *  Plugin Support [Stuart Duff – a11n](https://wordpress.org/support/users/stuartduff/)
 * (@stuartduff)
 * Automattic Happiness Engineer
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-notice-error-9/#post-14201611)
 * I’m going to mark this forum topic as resolved in the meantime – if you have 
   any further questions, you can reopen it again if you need be.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Notice Error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-google-analytics-integration/assets/icon-256x256.
   png?rev=3234358)
 * [Google Analytics for WooCommerce](https://wordpress.org/plugins/woocommerce-google-analytics-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-google-analytics-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Stuart Duff – a11n](https://wordpress.org/support/users/stuartduff/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/php-notice-error-9/#post-14201611)
 * Status: resolved