Title: Notice	Undefined variable:
Last modified: August 24, 2016

---

# Notice Undefined variable:

 *  Resolved [rorror](https://wordpress.org/support/users/rdehaar/)
 * (@rdehaar)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/noticeundefined-variable/)
 * Notice Undefined variable: ISOCountryCode 1 wp-content/plugins/wp-statistics/
   dashboard.php:316 wp_statistics_words_widget()
    do_meta_boxes() wp_dashboard()
   Plugin: wp-statistics
 * Undefined variable: ISOCountryCode 1 wp-content/plugins/wp-statistics/dashboard.
   php:250 wp_statistics_recent_widget()
    do_meta_boxes() wp_dashboard()
 * Undefined variable: ISOCountryCode 1 wp-content/plugins/wp-statistics/dashboard.
   php:201 wp_statistics_hitsmap_widget()
    do_meta_boxes() wp_dashboard() Plugin:
   wp-statistics
 * Undefined variable: ISOCountryCodes 1 wp-content/plugins/wp-statistics/dashboard.
   php:333 wp_statistics_top_visitors_widget()
    do_meta_boxes() wp_dashboard() Plugin:
   wp-statistics
 * [https://wordpress.org/plugins/wp-statistics/](https://wordpress.org/plugins/wp-statistics/)

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

 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/noticeundefined-variable/#post-6057680)
 * Try changing the include_once to just an include on the indicated lines and see
   if that resolves it.
 *  Thread Starter [rorror](https://wordpress.org/support/users/rdehaar/)
 * (@rdehaar)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/noticeundefined-variable/#post-6057729)
 * The update from today solved 3 of the 4 notices. Only the last one notice remains
   from my first post.
 * You also might want to check the install/update. Just after the page that you
   press activate and then go back to overview. There are 2 Sql messages that it
   cannot create … Because it Already exist. Forgot to copy the error. But you can
   reproduce it if you install query monitor plugin.
 * Als when you view exclusion page on a mobile, you cannot select the items under
   the graph ( show or not show all totals for example)
 * Tnx for the update from today.
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/noticeundefined-variable/#post-6057738)
 * The final error message in the first post is because the of a typo in the variable
   name (ISOCountryCodes instead of ISOCountryCode). It will be fixed in the next
   release.
 * The SQL “errors” are expected, they’re just warning and due to how WordPress 
   does the SQL updates.
 * What mobile browser are you using? The graph is an external library so there 
   may not be much we can do about it.
 *  Thread Starter [rorror](https://wordpress.org/support/users/rdehaar/)
 * (@rdehaar)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/noticeundefined-variable/#post-6057748)
 * Tnx Grew, I am using Google Chrome on android, also using the wordpress app on
   mobile phone for, editing and viewing. Will provide a printscreen later today.

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

The topic ‘Notice Undefined variable:’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [rorror](https://wordpress.org/support/users/rdehaar/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/noticeundefined-variable/#post-6057748)
 * Status: resolved