• Resolved feitgemel

    (@feitgemel)


    Hi,

    I’ve been getting repeated PHP warnings in my debug log related to MonsterInsights:

    [27-Sep-2025 05:11:21 UTC] PHP Warning: Undefined array key "id" in /home1/myaccount/public_html/wp-content/plugins/google-analytics-for-wordpress/includes/admin/admin-assets.php on line 55

    This warning repeats many times per hour.
    How to fix it ?

    Eran

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Tim H

    (@tharg3)

    Hi @feitgemel

    Thanks for reaching out!

    This error long entry typically appears when there is another Analytics plugin installed, such as Sitekit. We typically add a site health notice about this as well.

    Both the Google and ourselves recommend having only one instance of Google Analytics tracking codes per site, as it can affect data and reporting health if there is more than one.

    Once disabled, the notice in the debug log should cease.

    Thanks,
    Tim

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: Undefined array key “id” in admin-assets.php (MonsterInsights)’ is closed to new replies.