Support » Plugin: Better Google Analytics » Undefined index PHP notices in my error log

  • Resolved jshare

    (@jshare)


    I’m on the latest version of the plugin, latest WordPress, on Ubuntu 16.04.2 with the latest PHP7 (not PHP7.1).

    Doing a check of my site’s error.log, I see that Better Analytics is throwing PHP Notices when I view the WordPress Admin dashboard with the Better Analtyics widget enabled:

    2017/04/30 15:38:13 [error] 1478#0: *447 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: medium in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 28
    PHP message: PHP Notice:  Undefined index: (none) in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 28
    PHP message: PHP Notice:  Undefined index: page_path in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 34
    PHP message: PHP Notice:  Undefined index: /blog/internships-in-israel-2016/ in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 34
    PHP message: PHP Notice:  Undefined index: devices in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 38
    PHP message: PHP Notice:  Undefined index: Desktop in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 38
    PHP message: PHP Notice:  Undefined index: country in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 39
    PHP message: PHP Notice:  Undefined index: Israel in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 39
    PHP message: PHP Notice:  Undefined index: /blog/positive-personality-adjectives/ in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 34
    PHP message: PHP Notice:  Undefined index: Mobile in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 38
    PHP message: PHP Notice:  Undefined index: United States in /var/www/mydomain.com/html/wp-content/plugins/better-ana
    2017/04/30 15:38:13 [error] 1478#0: *447 FastCGI sent in stderr: "p-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 34
    PHP message: PHP Notice:  Undefined index: Australia in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 39
    PHP message: PHP Notice:  Undefined index: (not provided) in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 43
    PHP message: PHP Notice:  Undefined index: /blog/email-subject-lines-job-seekers/ in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 34
    PHP message: PHP Notice:  Undefined index: India in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 39
    PHP message: PHP Notice:  Undefined index: South Korea in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 39
    PHP message: PHP Notice:  Undefined index: /blog/hobbies-and-interests/ in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 34
    PHP message: PHP Notice:  Undefined index: Ireland in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 39
    PHP message: PHP Notice:  Undefined index: /blog/how-voice-affects-your-job-interview-chances/ in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 34
    PHP message: PHP Notice:  Undefined index: United Kingdom in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Model/Widget.php on line 39
    PHP message: PHP Notice:  Undefined index: Canada in /var/www/mydomain.com/html/wp-content/plugins/better-analytics/library/DigitalPointBet

    Thought you’d like to know

    Jacob

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Undefined index PHP notices in my error log’ is closed to new replies.