0

This is an error I commonly get in CI:

Fatal error: Call to a member function result() on a non-object in /home/... on line ...

Is there any way I can get CI to output more information than this? It would be nice if it would at least output my SQL written as standard SQL not Active Record.

Thanks.

1 Answer 1

2

Is there any way I can get CI to output more information than this?

Check out "UhOh" written by Dan Horrigan, a port of Kohana's error handling system for Codeigniter.

Here's a screen shot of UhOh handling a missing view file, so you can get an idea of how cool it is:

Screen shot of error handling

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, Wesley. That's awesome. I'll check it out.
Clicking any of those links brings up even more information, it's a really awesome tool - just don't forget to disable it when you go live.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.