MyBB Hacks

Full Version: error after upgrading to 1.2.14
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Code:
Fatal error: Call to a member function on a non-object in /homepages/18/d241666310/htdocs/US/inc/functions_forumlist.php on line 186


please how can i resolve this.



Code:
// Format lastpost date and time
					$lastpost_date = my_date($mybb->settings['dateformat'], $lastpost_data['lastpost']);
					$lastpost_time = my_date($mybb->settings['timeformat'], $lastpost_data['lastpost']);

					// Set up the last poster, last post thread id, last post subject and format appropriately
					$lastpost_profilelink = build_profile_link($lastpost_data['lastposter'], $lastpost_data['lastposteruid']);
					$lastposttid = $lastpost_data['lastposttid'];
					$lastpost_subject = $full_lastpost_subject = $parser->parse_badwords($lastpost_data['lastpostsubject']);
					if(my_strlen($lastpost_subject) > 25)
					{
						$lastpost_subject = my_substr($lastpost_subject, 0, 25) . "...";
					}
					$lastpost_subject = htmlspecialchars_uni($lastpost_subject);
					$full_lastpost_subject = htmlspecialchars_uni($full_lastpost_subject);

					// Call lastpost template
					eval("\$lastpost = \"".$templates->get("forumbit_depth$depth$forumcat"."_lastpost")."\";");


forgot to give a link:
http://unreal-station.com/forum.php
Reference URL's