BuddyDev

Search

Bug in https://buddydev.com/plugins/bp-poke/

  • Participant
    Level: Enlightened
    Posts: 24
    prgbr on #27659

    we found a bug in your plugin: https://buddydev.com/plugins/bp-poke/

    Trying to Poke Back (so not first poke and not already poked) results in the following error:

    Fatal error: Uncaught Error: Cannot unset string offsets in /var/www/html/wp-content/plugins/bp-poke/bp-poke-functions.php:208 Stack trace: #0 /var/www/html/wp-content/plugins/bp-poke/bp-poke-actions.php(106): bp_poke_poke_back(106) #1 /var/www/html/wp-includes/class-wp-hook.php(288): bp_poke_action_poking(”) #2 /var/www/html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #3 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /var/www/html/wp-content/plugins/buddyboss-platform/bp-core/bp-core-dependency.php(353): do_action(‘bp_actions’) #5 /var/www/html/wp-includes/class-wp-hook.php(288): bp_actions(”) #6 /var/www/html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #7 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #8 /var/www/html/wp-content/plugins/buddyboss-platform/bp-core/bp-core-dependency.php(430): do_action(‘bp_template_red…’) #9 /var/www/html/wp-includes/class-wp-hook.php(288): bp_template_redirect(”) #10 /var/www/html in /var/www/html/wp-content/plugins/bp-poke/bp-poke-functions.php on line 208

    Regards

  • Keymaster
    (BuddyDev Team)
    Posts: 21785
    Brajesh Singh on #27660

    Hi,
    Thank you for reporting it.

    Please upgrade to 1.1.2. It should be fixed. It was happening due to incorrect meta. I am not sure why the meta was being fetched as string.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved