WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Fatal error in role group edit page

[Resolved] Fatal error in role group edit page

  • I created 2 rs groups and everything was ok until i updated Role Scoper options. After that, at the bottom of each group edit page i always got this:

    Fatal error: Call to a member function get_results() on a non-object in /***/wp-content/plugins/role-scoper/admin/profile_ui_rs.php on line 324

    I uninstalled rs, deleted rs db tables, deleted all scoper_ voices in db wp options table, installed rs again and no success, as i do some changes and update rs options, i get same error.

    http://wordpress.org/extend/plugins/role-scoper/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Same thing happened to me…

    Not perfect but change:

    if ( IS_MU_RS && scoper_get_option( 'mu_sitewide_groups' ) ) {
        global $wpdb, $blog_id;

    to

    global $wpdb, $blog_id;
    if ( IS_MU_RS && scoper_get_option( 'mu_sitewide_groups' ) ) {

    I’m getting the same error.

    @natb19. Can you clarify where you made that change? Thanks!

    @paulzee

    wp-content/plugins/role-scoper/admin/profile_ui_rs.php

    line 625 (ish) or just do a search for the line to change 😉

    Thanks heaps @natb19. You were half right: line 313 😉 Thanks again for your help 🙂

    Thanks for the tip. I got the same error and I rolled back to 1.3.60 for now and waiting for the developer’s update.

    I experienced this same error when editing a role group and your fix worked. Thanks!

    Notice: Undefined variable: wpdb in …\wp-content\plugins\role-scoper\admin\profile_ui_rs.php on line 324 Fatal error: Call to a member function get_results() on a non-object in …\wp-content\plugins\role-scoper\admin\profile_ui_rs.php on line 324

    Plugin Author Kevin Behrens

    @kevinb

    Nice to meet all you guys. This error will be fixed in the upcoming Role Scoper 1.3.62.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Fatal error in role group edit page’ is closed to new replies.