PHP error category
Exceptions
Thrown and uncaught exceptions.
Exceptions errors arise when thrown and uncaught exceptions affect an executing PHP application or its supporting service. Use the exact signature and runtime context to narrow the cause before changing configuration.
The guides in this category separate code defects from environment differences, show focused diagnostics, and favor site-scoped corrections that preserve unrelated applications.
Guides in this category
| Title | Pattern | Severity |
|---|---|---|
| DateTime failed to parse time string | Exception: Failed to parse time string (%s) at position %d |
error |
| set_exception_handler misses Throwable types | TypeError: Argument #1 ($callback) must be a valid callback |
error |
| TypeError not caught by Exception | Fatal error: Uncaught TypeError: %s in %s:%d |
fatal |
| Uncaught RuntimeException | Fatal error: Uncaught RuntimeException: %s in %s:%d |
fatal |