Fixed Poor error message on "Accessed unknown getter"

Xon

Well-known member
Affected version
2.0 DP10
Code:
trigger_error("Accessed unknown getter '$originalKey' on " . $this->__toString(), E_USER_WARNING);

This doesn't show the stack trace making finding what caused this challenging.

Could you add an \XF::app()->error->logError here?
 
A full exception log is now made both with and without debug mode, while the error is only shown in debug mode.
 
Top Bottom