||08-17-2012 12:57 PM
PHP error after upgrading to latest version of PHP
Fatal error: Method Display::__toString() must not throw an exception in /home/utfiles/public_html/index.php on line 645
I get this error in my script now after transferring the site to a new server with a newer version of PHP. 5.3.15 is the version of PHP it's running.
Here is the section it's referring to in the error:
$log -> add_entry($search_log);
$str = $dir_list -> __toString();
echo new Display($str);