Title: PHP Warning: Undefined array key “path”
Last modified: October 23, 2023

---

# PHP Warning: Undefined array key “path”

 *  [debra15](https://wordpress.org/support/users/debra15/)
 * (@debra15)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path-5/)
 * I’m receiving many undefined array key “path” errors for heartbeat-control.
 * The path is  /wp-content/plugins/heartbeat-control/Heartbeat.php on line 82
 * return ( ‘/wp-admin/post.php’ === $this->current_screen[‘path’] );
 * Could you please help to fix it? Thank you!
 * Host information:
   php: 8.0WordPress: 6.3.2
    -  This topic was modified 2 years, 5 months ago by [debra15](https://wordpress.org/support/users/debra15/).

Viewing 1 replies (of 1 total)

 *  [Codeloghin](https://wordpress.org/support/users/loghin/)
 * (@loghin)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path-5/#post-17169027)
 * Hello,
   I invite you to try out an automated heartbeat plugin version that takes
   care of adjusting the right settings for your website depending on your traffic:
   [https://wordpress.org/plugins/dynamic-front-end-heartbeat-control/](https://wordpress.org/plugins/dynamic-front-end-heartbeat-control/)
   This should effectively bypass the errors you are experiencing.

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: Undefined array key “path”’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Codeloghin](https://wordpress.org/support/users/loghin/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path-5/#post-17169027)
 * Status: not resolved