Where are functions being called from when errors are vague?
The Devel module can be extremely helpful in cases like this. 
Once installed, go to the admin/config/development/devel path, and you will see an option for additional error handlers:



If you select the Krumo backtrace option(s), Devel will register itself as the PHP error handler, and it can then show error messages with the full backtrace!