Title: Undefined variable: num in overview.php
Last modified: April 8, 2018

---

# Undefined variable: num in overview.php

 *  Resolved [stfa76](https://wordpress.org/support/users/stfa76/)
 * (@stfa76)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-num-in-overview-php/)
 * Hi,
 * I’m seeing these errors from time to time in the debug.log:
 * `[04-Apr-2018 05:52:10 UTC] PHP Notice: Undefined variable: num in /wp-content/
   plugins/google-analytics-for-wordpress/includes/admin/reports/overview.php on
   line 512`
 * – WordPress 4.9.5
    – PHP 7.1.16 – MySQL 5.6.36 – Google Analytics MonsterInsights:
   7.0.4
 * Thanks.
 * Best regards,
    Stephane.

Viewing 1 replies (of 1 total)

 *  Plugin Author [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * (@chriscct7)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-num-in-overview-php/#post-10159513)
 * Hi there,
    Thanks for the report! We’ll make sure that gets addressed in our 
   next update. This is caused by an edge case bug with regards to country tracking
   reporting, so it won’t be too common for people to see but we’ll make sure it
   gets fixed
 * -Chris

Viewing 1 replies (of 1 total)

The topic ‘Undefined variable: num in overview.php’ is closed to new replies.

 * ![](https://ps.w.org/google-analytics-for-wordpress/assets/icon.svg?rev=2976619)
 * [MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-num-in-overview-php/#post-10159513)
 * Status: resolved