I am getting an error like this in the backend running my own extension:
Call to a member function setQuery() on null
And because I am not clairvoyant I do need some more info about where the error happened.
Can I somehow disable Joomla's own way of displaying errors and getting the real PHP error shown where I can see in what file and line the error happened?
I only need the full and real error reporting in the backend and not in the frontend of the site.
I have inserted this in my extension:
error_reporting(E_ALL); ini_set('display_errors', TRUE);
And it does gives PHP errors in some cases but in this case it is hard to know what line is make the error because of Joomla all too simple layouted error reporting. I better like a non-layouted page with a usable error reference :-)