[eluser]Unknown[/eluser]
Sometimes it happens that I have a typo in the call to one of my libraries' method.
Example:
// Load my library
$this->load->library('something');
// Call an undefined method
$this->something->undefined_method();
Every time this happens, all I get is a blank page. No error message, nothing in the log files, nothing in Apache's log either. There's clearly no indication of what the error is. Then I start polluting my code with die("we got here") statements to figure out where the application flow was ended.
Is there not a proper way to error out on these situations ?
This is by far the biggest ache I have with CodeIgniter (well, the only one, really).
It's interesting that, if I try to access an undefined property (vs a method), then I get a proper error message. But it doesn't hold for undefined method calls.
Am I missing something here ?