Title: PHP Warning &#8211; Undefined array key &#8220;path&#8221;
Last modified: May 10, 2023

---

# PHP Warning – Undefined array key “path”

 *  Resolved [globalseda](https://wordpress.org/support/users/globalseda/)
 * (@globalseda)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path-4/)
 * I’m receiving an undefined array key “path” error for login-lockdown.
 * Path is /public_html/wp-content/plugins/login-lockdown/libs/functions.php line
   106
 * $is_rest = strpos($current_url[‘path’], $rest_url[‘path’], 0) === 0;
 * Anyone got any ideas on what changes I might need to make to this line of code
   to fix the error? I’m not technical so please baby steps.
 * Thank you!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * (@talextech)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path-4/#post-16727980)
 * Sorry about that, we will push an update with the fix ASAP! 🙂

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning – Undefined array key “path”’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path-4/#post-16727980)
 * Status: resolved