I've been running IP.Board 2.3.6 for around 2 years now and since they stopped giving support for it and PHP 5.3.x has been released I'm now getting an error in error_log a few times a day and it's becoming a nuisance. Before anyone asks, I'm not upgrading to 3.x because my visitors like 2.3.6 and I personally hate 3.x.
I was speaking to someone over at InvisionPower and they said the error could have been caused because I'm running PHP 5.3.8, which could be true, as I never had these errors before moving from PHP 5.2.
But I do want to get to the bottom of it and find out what's really causing the issue so that I can resolve it.
[26-Nov-2011 13:56:01] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96 [26-Nov-2011 13:56:08] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96 [26-Nov-2011 13:56:16] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96 [26-Nov-2011 13:56:16] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96 [26-Nov-2011 13:56:17] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96 [26-Nov-2011 13:56:17] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96 [26-Nov-2011 17:25:14] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96 [26-Nov-2011 20:19:41] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96 [26-Nov-2011 23:14:13] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96 [27-Nov-2011 00:22:52] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96 [27-Nov-2011 00:59:56] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96 [27-Nov-2011 01:13:53] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96 [27-Nov-2011 01:16:33] PHP Fatal error: Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
That's the error I'm getting, this is on line 96:
$this->ex_time = sprintf( "%.4f",$Debug->endTimer() );
The problem is that in init.php the function endTimer exists, so I know it's got nothing to do with that. Plus it's not effecting the functionality of the boards since it's part of the Debug, I just want to find out what's causing it.
Hopefully someone with a bit more knowledge will be able to help me.





Contributor













