PHP error category
Namespaces & Autoload
Name resolution and loading.
Namespaces & Autoload errors arise when name resolution and loading 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 |
|---|---|---|
| Class not found | Fatal error: Uncaught Error: Class "%s" not found in %s:%d |
fatal |
| Class not found after Composer install | Class "%s" not found |
error |
| Interface not found | Fatal error: Uncaught Error: Interface "App\\Contracts\\Exporter" not found in %s on line %d |
fatal |
| Trait not found | Fatal error: Trait "App\\Support\\LogsEvents" not found in %s on line %d |
fatal |