• Resolved Howdy_McGee

    (@howdy_mcgee)


    I’m receiving a PHP Notice regarding an undefined variable, the error is listed below:

    PHP Notice: Undefined variable: tracking in /plugins/google-analytics-for-wordpress/includes/admin/tracking.php on line 94

    After looking at the code in that file it doesn’t appear that the $tracking variable is defined anywhere in the method. Was hoping someone on the dev team could look into this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author chriscct7

    (@chriscct7)

    Hi there,
    Thanks for the report! We’ll get this fixed in the next release

    -Chris

    Hi there,

    If you haven’t already you’ll want to get in touch with us at monsterinsights.com/lite-support/ as we’re going to need to diagnose this issue

    -Jay

    Thread Starter Howdy_McGee

    (@howdy_mcgee)

    I appreciate the response – I’m a bit leery giving any kind of site credentials to any 3rd party.

    I feel looking at the file itself it is pretty clear that the variable doesn’t exist before it’s being used so any time that specific method is called it will fire off a PHP Notice but the overall functionality probably wouldn’t be impacted. It looks like it’s only triggered during the usage reporting stage via cronjob.

    Sorry I can’t be of more help!

    Chris found the fix for the issue a minute while I was replying, it’ll be fixed in the next release.

    Cheers,

    Jay

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

The topic ‘PHP Notice – Undefined Variable $tracking’ is closed to new replies.