Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 error after upgrading to 1.2.14
incadude Offline
Member
***
Posts: 52
Joined: Jan 2008
Post: #1
error after upgrading to 1.2.14

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:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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
07-21-2008 02:29 AM
Find all posts by this user

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: