Title: PHP errors
Last modified: February 20, 2019

---

# PHP errors

 *  [Barn2 Plugins](https://wordpress.org/support/users/barn2media/)
 * (@barn2media)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-errors-150/)
 * Hi,
 * There are a lot of errors in the error log relating to WP Google Analytics Events.
   How can I fix these please? The errors are as follows:
 *     ```
       PHP message: PHP Notice: Undefined offset: 6 in /www/happy_114/public/wp-content/plugins/wp-google-analytics-events/ga-scroll-event.php on line 236" while reading response header from upstream, client: 185.110.36.159, server: www.happy.co.uk, request: "GET /course/intensives/introduction-to-power-bi-desktop/ HTTP/1.0", upstream: "fastcgi://unix:/var/run/php7.2-fpm-happy.sock:", host: "www.happy.co.uk"
   
       PHP message: PHP Notice: Undefined offset: 0 in /www/happy_114/public/wp-content/plugins/wp-google-analytics-events/ga-scroll-event.php on line 223
   
       PHP message: PHP Notice: Undefined index: gst in /www/happy_114/public/wp-content/plugins/wp-google-analytics-events/ga-scroll-event.php on line 143
   
       PHP message: PHP Notice: Undefined index: gtm in /www/happy_114/public/wp-content/plugins/wp-google-analytics-events/ga-scroll-event.php on line 142
       ```
   
 * Many thanks

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

 *  Plugin Author [yuvalo](https://wordpress.org/support/users/yuvalo/)
 * (@yuvalo)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-errors-150/#post-11301867)
 * Hi [@barn2media](https://wordpress.org/support/users/barn2media/),
 * Our next update will include a much better error handling.
    It’s in the QA phase
   and expected to be released in two weeks.
 * Yuval
 *  [kristofferholtendk](https://wordpress.org/support/users/kristofferholtendk/)
 * (@kristofferholtendk)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-errors-150/#post-11382224)
 * Hi Yuvalo
 * When is update expected? 🙂
 * im happily using your plugin on all my sites!
 * Best wishes
    Kristoffer [sms lån](https://tempest.dk/former-for-laan/sms/) & 
   [Hifi Møbler](https://www.clic.dk/)

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

The topic ‘PHP errors’ is closed to new replies.

 * ![](https://ps.w.org/wp-google-analytics-events/assets/icon-256x256.jpeg?rev=
   2189709)
 * [WP Google Analytics Events - No-Code Custom Event Tracking for Google Analytics](https://wordpress.org/plugins/wp-google-analytics-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-analytics-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-analytics-events/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-analytics-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-analytics-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-analytics-events/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [kristofferholtendk](https://wordpress.org/support/users/kristofferholtendk/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/php-errors-150/#post-11382224)
 * Status: not resolved