• Resolved bergmans23

    (@bergmans23)


    Hi there,
    We’ve been using BuddyPress Registration Options for over a year on a forum site and all went well untill this week.
    Now, when adding a new user and clicking submit, we get a blank page with a lot of this:

    Warning: Illegal string offset ‘form_id’ in /home/www/mydomain/www/wp-content/plugins/ultimate-member/includes/um-short-functions.php on line 943

    Notice: Uninitialized string offset: 0 in /home/www/mydomain/www/wp-content/plugins/ultimate-member/includes/um-short-functions.php on line 943

    and this:

    Fatal error: Uncaught Error: Call to undefined function bp_is_active() in /home/www/mydomain/www/wp-content/plugins/bp-registration-options/includes/core.php:130 Stack trace: #0 /home/www/mydomain/www/wp-includes/class-wp-hook.php(288): bp_registration_options_bp_core_register_account(145) #1 /home/www/mydomain/www/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /home/www/mydomain/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/www/mydomain/www/wp-includes/user.php(1897): do_action(‘user_register’, 145) #4 /home/www/mydomain/www/wp-admin/includes/user.php(230): wp_insert_user(Array) #5 /home/www/mydomain/www/wp-admin/user-new.php(163): edit_user() #6 {main} thrown in /home/www/mydomain/www/wp-content/plugins/bp-registration-options/includes/core.php on line 130

    After that, I get an email about a new member suvscribtion, with a link and I can go to the overview and voila, the user is there…
    Same thing happens when I delete a candidate user from that overview: it gives a lot of errors…

    Hope you can help!

    Thanks
    Bye

    Ward

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hmm. The issue isn’t the illegal offset part, as per the thread title. It’s the fatal error towards the end.

    For some reason, by the time your site is reaching the user_register hook from WordPress core, BuddyPress hasn’t loaded quite yet, which it really should have been. Either that, or I know it’s possible to technically use the plugin with just bbPress though it’s mostly intended for BuddyPress.

    Is that perhaps the case for you? Using bbPress but not BuddyPress?

    I also see and recall pushing this commit to our GitHub copy of the plugin, but it hasn’t been released to everyone yet https://github.com/WebDevStudios/BuddyPress-Registration-Options/commit/5401f8844241b114a64fe1798ec04917d44f8e79

    Thread Starter bergmans23

    (@bergmans23)

    Hi Michael,

    We’ve been using the plugin for over 18 months now, without any fail. It’s since this week that this error occurs.
    And actually, we’ve never had buddypress running, only bbpress…

    Hope you can help!
    Thanks!
    Bye
    Ward

    Thread Starter bergmans23

    (@bergmans23)

    Hi Michael,
    Your message got me thinking…
    I just installed Buddypress and all seems well in the world again… 🙂

    Thanks!!
    Bye
    Ward

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    I should look into getting the changes in that commit pushed out to everyone, cause we shouldn’t be making you install and activate buddypress if you don’t need it 🙂

    Thread Starter bergmans23

    (@bergmans23)

    That’s a really good idea!! 🙂

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Check out version 4.3.8 which adds extra non-BuddyPress protection.

    Thanks again Ward

    I’m having the same issue, when I view user page keep getting error 405.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    @lkjune just to be certain, is this before or after an upgrade to 4.3.8?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Illegal string offset’ is closed to new replies.