Title: error after active
Last modified: July 27, 2018

---

# error after active

 *  Resolved [michaeltryl](https://wordpress.org/support/users/michaeltryl/)
 * (@michaeltryl)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/error-after-active/)
 * i get this when i activate the plugin.
    I have disabled the plugin until i know
   more 🙂
 * Warning: in_array() expects parameter 2 to be array, null given in /home/www/
   test.magiske-michael.dk/wp-content/plugins/heartbeat-control/heartbeat.php on
   line 40
 * Warning: in_array() expects parameter 2 to be array, null given in /home/www/
   test.magiske-michael.dk/wp-content/plugins/heartbeat-control/heartbeat.php on
   line 42
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-after-active%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jeff Matson](https://wordpress.org/support/users/jeffmatson/)
 * (@jeffmatson)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/error-after-active/#post-10542673)
 * It looks like there was an issue that was caused if no locations were selected
   in the settings page. I just added an additional check to handle it in 1.2.4.
   All should be good in the latest version I just pushed.
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘error after active’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Jeff Matson](https://wordpress.org/support/users/jeffmatson/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/error-after-active/#post-10542673)
 * Status: resolved