[eluser]Russ Back[/eluser]
Hi,
Bit of an odd one this. I have my 404 redirection working fine in most circumstances but the following URL produces an error:
Quote:/.....
Obviously that's a daft URL and one that I'd hope wouldn't ever occur but I'm always keen to ensure I capture all errors. Here's what I'm getting:
Code:
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: errors/error_404.php
Line Number: 9
Line 9 has this code:
Code:
echo($($CI->config->item('site_name')));
And before that I'm setting $CI as usual:
Code:
$CI =& get_instance()
Anybody ever come across this before?