How to debug the "Fatal error: Exception thrown without a stack frame in Unknown on line 0" error message with try-catch.