• Hi guys!

    This plugin is better and better !

    But but! i have some warning debug message when we send a post :

    Warning: Illegal string offset ‘id’ in wp-content/plugins/buddypress-activity-privacy/includes/bp-activity-privacy-filters.php on line 355

    Also there are some double data with bp-follow in settings … Maybe you should take a look !

    regards!

    https://ww.wp.xz.cn/plugins/buddypress-activity-privacy/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Qobalt

    (@qobalt)

    This occures when we insert a #hashtag with the plugin Hashbuddy.

    Thread Starter Qobalt

    (@qobalt)

    Edit: hashbuddy is not in cause.

    But it does this warning on some user account, not for all.

    Warning: Illegal string offset 'id' in wp-content/plugins/buddypress-activity-privacy/includes/bp-activity-privacy-filters.php on line 355

    the line in the file:

    if( isset($retval) && is_array($retval) && !empty( $retval) ) {
                $activity_id = $retval[0]['id'];
    
                $activities = bp_activity_get_specific( array( 'activity_ids' => $activity_id ) );
                $activity = $activities['activities'][0];
                $remove_from_stream = bp_visibility_is_activity_invisible( $activity, $bp_loggedin_user_id, $is_super_admin, $bp_displayed_user_id );
                if ($remove_from_stream) {
                    return false;
                }
             }

    Hi have exactly same problem like yours.
    Did you solved this problem @qobalt

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Warning illegal id’ is closed to new replies.