Title: Plugin incompatible with WP 4.0 ?
Last modified: August 22, 2016

---

# Plugin incompatible with WP 4.0 ?

 *  [Dr. Ivo Bleylevens](https://wordpress.org/support/users/ibleylevens/)
 * (@ibleylevens)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/plugin-incompatible-with-wp-40/)
 * Dear Simple Login Log developers,
 * after upgrading to WP 4.0 the plugin does not work anymore.
    The page wp-admin/
   users.php?page=login_log simple shows a white screen instead of a table with 
   the description of the logins.
 * With debug mode ON, I see that it generates the following error which was not
   the case before WP 4.0:
 * _Fatal error: Call to protected method WP\_List\_Table::view\_switcher() from
   context ‘SimpleLoginLog’ in /data/wp-content/plugins/simple-login-log/simple-
   login-log.php on line 574_
 * I solved the issue by commenting out the call to view-switcher() and replace 
   it with:
 *     ```
       $modes = array('list'    => __( 'List View' ), 'excerpt' => __( 'Excerpt View' ));
       ?>
       <input type="hidden" name="mode" value="<?php echo esc_attr( $current_mode ); ?>" />
       <div class="view-switch">
       <?php
       	foreach ( $modes as $mode => $title )
       	{	$classes = array( 'view-' . $mode );
       		if ( $current_mode == $mode )
       			$classes[] = 'current';
       		printf("<a href='%s' class='%s' id='view-switch-$mode'><span class='screen-reader-text'>%s</span></a>\n", esc_url( add_query_arg( 'mode', $mode ) ), implode( ' ', $classes ), $title);
       	}
       ?>
       </div>
       ```
   
 * Which is the content of the function view_switcher().
 * Hope there will be an update for the plugin asap that is compatible with WP 4.0.
 * Kind regards,
    Ivo Bleylevens Maastricht University
 * [https://wordpress.org/plugins/simple-login-log/](https://wordpress.org/plugins/simple-login-log/)

The topic ‘Plugin incompatible with WP 4.0 ?’ is closed to new replies.

 * ![](https://ps.w.org/simple-login-log/assets/icon-256x256.png?rev=3487526)
 * [Simple Login Log](https://wordpress.org/plugins/simple-login-log/)
 * [Support Threads](https://wordpress.org/support/plugin/simple-login-log/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-login-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-login-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-login-log/reviews/)

## Tags

 * [compatible](https://wordpress.org/support/topic-tag/compatible/)
 * [protected](https://wordpress.org/support/topic-tag/protected/)

 * 0 replies
 * 1 participant
 * Last reply from: [Dr. Ivo Bleylevens](https://wordpress.org/support/users/ibleylevens/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/plugin-incompatible-with-wp-40/)
 * Status: not resolved