How to debug Laravel error 500 with no logs, no information

后端 未结 5 1212
执念已碎
执念已碎 2021-02-07 13:37

I\'m working on an existing Laravel application in order to develop new feature but after installing the app on my computer, I have an error 500 and no clue to resolve it.

5条回答
  •  无人共我
    2021-02-07 14:28

    Some PHP exceptions are not possible to catch, so Laravel cant handle them. For example syntax errors, or maximum memory limit errors.

    The following error types cannot be handled with a user defined function: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING, and most of E_STRICT raised in the file where set_error_handler() is called.

    Ref.: http://php.net/manual/en/function.set-error-handler.php

提交回复
热议问题