on line 152 is this
$wpdb->update( 'wp_posts' , array('post_parent' => $new_forum_Id), array('ID' => $topic_id) );
It should be this:
$wpdb->update($wpdb->posts, array('post_parent' => $new_forum_id), array('ID' => $topic_id) );
Not everyone has their WordPress tables prefixed with “wp” and it will break being able to move posts on sites that don’t.
- The topic ‘bug with bbps_move_topic’ is closed to new replies.