Title: Undefined array key &#8220;page&#8221;
Last modified: May 26, 2022

---

# Undefined array key “page”

 *  Resolved [isarisar](https://wordpress.org/support/users/isarisar/)
 * (@isarisar)
 * [4 years ago](https://wordpress.org/support/topic/undefined-array-key-page/)
 * Saw this twice (~30m apart) in the log:
 * `PHP Warning: Undefined array key "page" in /srv/wp-content/plugins/when-last-
   login/when-last-login.php on line 607`
 * No idea what caused it, not accompanied by anything else, and no negative effect
   noticed.
 * The line is from `wll_automatically_remove_logs`:
    `if ( 'admin.php' == $pagenow&&'
   when-last-login-settings' != $_GET['page'] ) {`
 * WLL 1.2.1
    WP 5.9.3 Divi 4.17.4 PHP 8.0.17

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

 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/undefined-array-key-page/#post-16043173)
 * Thanks for bringing this to my attention [@isarisar](https://wordpress.org/support/users/isarisar/),
   I’ve added it to the next release of When Last login.
 *  [reyerm](https://wordpress.org/support/users/reyerm/)
 * (@reyerm)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/undefined-array-key-page/#post-16142183)
 * Getting similar
    `Warning: Undefined array key “page” in ****/wp-content/plugins/
   when-last-login/when-last-login.php on line 607 Warning: Cannot modify header
   information – headers already sent by (output started at ***/wp-content/plugins/
   when-last-login/when-last-login.php:607) in ****/wp-admin/includes/misc.php on
   line 1381 Warning: Cannot modify header information – headers already sent by(
   output started at
 * is there a hot fix avail or when do you expect new version to be released? thanks
   Andre1!

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

The topic ‘Undefined array key “page”’ is closed to new replies.

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

 * 2 replies
 * 3 participants
 * Last reply from: [reyerm](https://wordpress.org/support/users/reyerm/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/undefined-array-key-page/#post-16142183)
 * Status: resolved