Problem calling bb_insert_topic.
-
I’m running into an odd error:
Warning: mysql_real_escape_string(): 16 is not a valid MySQL-Link resource in /forums/bb-includes/backpress/class.bpdb.php on line 394
This happens when I using an external function I made to create threads which uses bb_insert_topic. It seems to only happen ever other thread created. If I just create one thread, it never happens, if I create three threads in a row, it will happen on the second but not the first or third.
My function is fairly straight-forward:
$topic_id = bb_insert_topic(array('topic_title' => $topic_title,'topic_poster' => 5,'forum_id' => 1));
Is this a bbpress bug?
- You must be logged in to reply to this topic.