https://github.com/netlogix/nxerrorhandler
Error handler with static pages for TYPO3
https://github.com/netlogix/nxerrorhandler
php sentry typo3
Last synced: about 1 month ago
JSON representation
Error handler with static pages for TYPO3
- Host: GitHub
- URL: https://github.com/netlogix/nxerrorhandler
- Owner: netlogix
- License: mit
- Created: 2022-05-27T08:03:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-10-07T08:38:59.000Z (8 months ago)
- Last Synced: 2025-10-07T10:26:34.185Z (8 months ago)
- Topics: php, sentry, typo3
- Language: PHP
- Size: 135 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# TYPO3 extension nxerrorhandler
[](https://get.typo3.org/version/13)
[](https://php.net/)
[](https://github.com/netlogix/nxerrorhandler/actions)
Improves error handling in TYPO3 by using statically rendered error documents for output to reduce strain on the server.
## Compatibility
The current version of this extension has been tested in TYPO3 13 on PHP 8.3, 8.4.
## Usage
Add this to your `config/sites/sitename/config.yaml`
```yaml
errorHandling:
- errorCode: '400'
errorHandler: PHP
errorPhpClassFQCN: Netlogix\Nxerrorhandler\Error\PageContentErrorHandler
errorContentSource: 't3://page?uid=99'
- errorCode: '404'
errorHandler: PHP
errorPhpClassFQCN: Netlogix\Nxerrorhandler\Error\PageContentErrorHandler
errorContentSource: 't3://page?uid=99'
- errorCode: '500'
errorHandler: PHP
errorPhpClassFQCN: Netlogix\Nxerrorhandler\Error\PageContentErrorHandler
errorContentSource: 't3://page?uid=99'
```