Title: [Plugin: Login Logger] WP_DEBUG &#8211; Old user level code
Last modified: August 19, 2016

---

# [Plugin: Login Logger] WP_DEBUG – Old user level code

 *  [Jandal](https://wordpress.org/support/users/jandal/)
 * (@jandal)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-login-logger-wp_debug-old-user-level-code/)
 * Hello smerriman,
 * I’m currently experiencing the WSoD (White Screen of Death) on one of my WP installs
   and I’m trying to reduce the number of issues that could cause it. I am running
   a large number of plugins and yours happens to be one of them.
 * I’m running my local WP install in
 * `define('WP_DEBUG', true);`
 * mode, this can be added to wp-config.php and I’m turning on 1 plugin at a time.
   I found the following issue/s;
 * * The add_submenu_page function needs updating. I’m receiving errors on the dashboard.
 * Solution:
 *     ```
       function loginlog_users()
       {
       	global $wp_version;
       	//add_submenu_page('users.php','Login logs','Login logs',8,'login-logger/manage.php');
       	add_submenu_page('users.php','Login logs','Login logs','manage_options','login-logger/manage.php','');
       }
       ```
   
 * If you could please check your plugin with WP_DEBUG mode on and resolve any messages
   that come up for the next release, this would be amazing.
 * Thank you for your time and creating a great plugin.
    Thanks, =-)
 * [http://wordpress.org/extend/plugins/login-logger/](http://wordpress.org/extend/plugins/login-logger/)

The topic ‘[Plugin: Login Logger] WP_DEBUG – Old user level code’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/login-logger.svg)
 * [Login Logger](https://wordpress.org/plugins/login-logger/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/login-logger/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/login-logger/)
 * [Active Topics](https://wordpress.org/support/plugin/login-logger/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/login-logger/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/login-logger/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Jandal](https://wordpress.org/support/users/jandal/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-login-logger-wp_debug-old-user-level-code/)
 * Status: not resolved