[urgent] PHPBB3 error

Discussion in 'PHP' started by tauno, Aug 14, 2008.

  1. #1
    I have a weird error that I was hoping someone can help with. The error appears only when somebody looks at a private message they have received. The error is:

    Fatal error: Call to a member function on a non-object in /home/potus/public_html/includes/functions_display.php on line 524

    $template->assign_block_vars('navlinks', array(
    		'S_IS_CAT'		=> ($forum_data['forum_type'] == FORUM_CAT) ? true : false,
    		'S_IS_LINK'		=> ($forum_data['forum_type'] == FORUM_LINK) ? true : false,
    		'S_IS_POST'		=> ($forum_data['forum_type'] == FORUM_POST) ? true : false,
    		'FORUM_NAME'	=> $forum_data['forum_name'],
    		'FORUM_ID'		=> $forum_data['forum_id'],
    		'U_VIEW_FORUM'	=> format_url($forum_data['forum_name'], 'f' . $forum_data['forum_id']))
    	);
    Code (Line 524-531):


    Thanks ahead, getting quite desperate here :confused:
     
    tauno, Aug 14, 2008 IP
  2. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #2
    Are you using any Mod in your forum? You may replace functions_display.php with original file from. If you do not have you may download the version on PHPbb from their web site.

    Kailash
     
    kailash, Aug 14, 2008 IP