WordPress.org

Ready to get started?Download WordPress

Forums

WP-ServerInfo
Debug shows following info (3 posts)

  1. another-webmaster
    Member
    Posted 2 years ago #

    “Notice: has_cap was called with an argument that is deprecated since version 2.0!”
    "user_level in Plugins and Themes are old"
    "wp-includes/functions.php on line 3542"

    Thank you in advance for responce/solution.

    http://wordpress.org/extend/plugins/wp-serverinfo/

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    A bit of a late response I'm afraid. I came across this topic when I was having the same issue and looking for a solution.

    I fixed it on my site by editing the plugin:

    Change Line 42 from
    add_submenu_page('index.php', __('WP-ServerInfo', 'wp-serverinfo'), __('WP-ServerInfo', 'wp-serverinfo'), 1, 'wp-serverinfo/wp-serverinfo.php', 'display_serverinfo');

    to

    add_submenu_page('index.php', __('WP-ServerInfo', 'wp-serverinfo'), __('WP-ServerInfo', 'wp-serverinfo'), 'add_users', 'wp-serverinfo/wp-serverinfo.php', 'display_serverinfo');

    Also I was getting undefined variable errors in the phpinfo output so to fix these:

    Add
    $data_usage = '';
    After line 486: global $wpdb;

    Add
    $index_usage = '';
    After line 502: global $wpdb;

  3. Lester Chan
    Member
    Plugin Author

    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic