Title: sofianights's Replies | WordPress.org

---

# sofianights

  [  ](https://wordpress.org/support/users/sofianights/)

 *   [Profile](https://wordpress.org/support/users/sofianights/)
 *   [Topics Started](https://wordpress.org/support/users/sofianights/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sofianights/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sofianights/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sofianights/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sofianights/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sofianights/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP phpBB Bridge] [Plugin: WP phpBB Bridge] Fatal error: Class 'bitfield' not found](https://wordpress.org/support/topic/plugin-wp-phpbb-bridge-fatal-error-class-bitfield-not-found/)
 *  [sofianights](https://wordpress.org/support/users/sofianights/)
 * (@sofianights)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-phpbb-bridge-fatal-error-class-bitfield-not-found/#post-2372947)
 * I fixed this problem by deleting the following code in wpbb-functions.php around
   line #1319
 * I’m pretty lame in php, so try this with caution!
 *     ```
       if(!class_exists('parse_message'))
   
       	{
   
       		include($phpbb_root_path . 'includes/message_parser.' . $phpEx);
   
       	}
   
       	$message_parser = new parse_message($text);
   
       	$message_parser->parse($allow_bbcode, $allow_urls, $allow_smilies);
   
       	$text = $message_parser->message;
   
       	$uid = $message_parser->bbcode_uid;
   
       	// If the bbcode_bitfield is empty, there is no need for the uid to be stored.
   
       	if (!$message_parser->bbcode_bitfield)
   
       	{
   
       		$uid = '';
   
       	}
   
       	$bitfield = $message_parser->bbcode_bitfield;
   
       	return;
       ```
   
 * Seems to work fine now. Posts are published in the forum, just the [caption] 
   tags are not parsed, which is a bit ugly, but I can live with it 😉 Still hope
   someone offers a better way to get rid of this issue!

Viewing 1 replies (of 1 total)