Title: Issue with Line 331 &#8211; $analytics undefined variable
Last modified: September 1, 2016

---

# Issue with Line 331 – $analytics undefined variable

 *  [ogreraven](https://wordpress.org/support/users/ogreraven/)
 * (@ogreraven)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/issue-with-line-331-analytics-undefined-variable/)
 * Getting error:
 * Notice: Undefined variable: analytics in /home/XXXX/site.com/wp-content/plugins/
   chartbeat/chartbeat.php on line 331
 * I am indeed logged in as admin. Looks like $analytics never really gets a value
   in this function.
 * Not a show-stopper, I don’t think.
 * [https://wordpress.org/plugins/chartbeat/](https://wordpress.org/plugins/chartbeat/)

Viewing 1 replies (of 1 total)

 *  [nunomorgadinho](https://wordpress.org/support/users/nunomorgadinho/)
 * (@nunomorgadinho)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/issue-with-line-331-analytics-undefined-variable/#post-8170428)
 * I also get this notice, like [@ogreraven](https://wordpress.org/support/users/ogreraven/)
   mentioned it is not a show-stopper but should be fixed.

Viewing 1 replies (of 1 total)

The topic ‘Issue with Line 331 – $analytics undefined variable’ is closed to new
replies.

 * ![](https://ps.w.org/chartbeat/assets/icon-256x256.png?rev=2333776)
 * [Chartbeat](https://wordpress.org/plugins/chartbeat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/chartbeat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/chartbeat/)
 * [Active Topics](https://wordpress.org/support/plugin/chartbeat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/chartbeat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/chartbeat/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [nunomorgadinho](https://wordpress.org/support/users/nunomorgadinho/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/issue-with-line-331-analytics-undefined-variable/#post-8170428)
 * Status: not resolved