• Resolved btom76

    (@btom76)


    Hello,

    I have a bug concerning the display in the back-office. In wp-admin/admin.php?page=roles&view=active I have a critical error which concerns the following code:

    Uncaught Error: Call to a member function get() on bool in /wp-content/plugins/members/admin/class-role-list-table.php:252
    Stack trace:
    #0 /wp-admin/includes/class-wp-list-table.php(1554): Members\Admin\Role_List_Table->column_title('none')
    #1 /wp-admin/includes/class-wp-list-table.php(1499): WP_List_Table->single_row_columns('none')
    #2 /wp-admin/includes/class-wp-list-table.php(1486): WP_List_Table->single_row('none')
    #3 /wp-admin/includes/class-wp-list-table.php(1471): WP_List_Table->display_rows()
    #4 /wp-admin/includes/class-wp-list-table.php(1398): WP_List_Table->display_rows_or_placeholder()
    #5 /wp-content/plugins/members/admin/class-role-list-table.php(494): WP_List_Table->display()
    #6 /wp-content/plugins/members/admin/class-roles.php(185): Members\Admin\Role_List_Table->display()
    #7 /wp-content/plugins/members/admin/class-manage-roles.php(151): Members\Admin\Roles->page()
    #8 /wp-includes/class-wp-hook.php(308): Members\Admin\Manage_Roles->page('')
    #9 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #10 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #11 /wp-admin/admin.php(259): do_action('members_page_ro...')
    #12 {main}
      thrown

    I disabled all my plugins to rule out a plugin conflict, and the problem persists. How to solve it? Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author Caseproof

    (@caseproof)

    Hi @btom76

    I cannot reproduce this error on my site. It looks like there might be an issue with one of your roles. You could revert back your roles to default ones to see if that helps. Users’ capabilities are stored in the database in the wp_user_roles option in the wp_options table, so you can update this option directly in the database. You can use cPanel or one of the database plugins, but before you do this make sure to backup the current value to restore your roles later if needed. Here you can find the default value for the wp_user_roles option.

    a:5:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s:12:"capabilities";a:61:{s:13:"switch_themes";b:1;s:11:"edit_themes";b:1;s:16:"activate_plugins";b:1;s:12:"edit_plugins";b:1;s:10:"edit_users";b:1;s:10:"edit_files";b:1;s:14:"manage_options";b:1;s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:6:"import";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:8:"level_10";b:1;s:7:"level_9";b:1;s:7:"level_8";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:12:"delete_users";b:1;s:12:"create_users";b:1;s:17:"unfiltered_upload";b:1;s:14:"edit_dashboard";b:1;s:14:"update_plugins";b:1;s:14:"delete_plugins";b:1;s:15:"install_plugins";b:1;s:13:"update_themes";b:1;s:14:"install_themes";b:1;s:11:"update_core";b:1;s:10:"list_users";b:1;s:12:"remove_users";b:1;s:13:"promote_users";b:1;s:18:"edit_theme_options";b:1;s:13:"delete_themes";b:1;s:6:"export";b:1;}}s:6:"editor";a:2:{s:4:"name";s:6:"Editor";s:12:"capabilities";a:34:{s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;}}s:6:"author";a:2:{s:4:"name";s:6:"Author";s:12:"capabilities";a:10:{s:12:"upload_files";b:1;s:10:"edit_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:4:"read";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"delete_published_posts";b:1;}}s:11:"contributor";a:2:{s:4:"name";s:11:"Contributor";s:12:"capabilities";a:5:{s:10:"edit_posts";b:1;s:4:"read";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;}}s:10:"subscriber";a:2:{s:4:"name";s:10:"Subscriber";s:12:"capabilities";a:2:{s:4:"read";b:1;s:7:"level_0";b:1;}}}

    I hope that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Critical error in back office’ is closed to new replies.