helhum / TYPO3-Distribution

A distribution package for TYPO3 CMS with added typo3_console support
81 stars 19 forks source link

ErrorpageMessage is no longer available in TYPO3 9.5 #21

Open colorcube opened 4 years ago

colorcube commented 4 years ago

\TYPO3\CMS\Core\Messaging\ErrorpageMessage is used which is no longer available in TYPO3 9.5 as it seems.

The TYPO3 docs says: "Use the new Fluid-based ErrorPageController class."

https://api.typo3.org/9.5/_error_page_controller_8php_source.html

colorcube commented 4 years ago

for me (not a clean install of TYPO3-Distribution) ...

- { resource: '../packages/*/Configuration/Distribution/*.yaml', type: glob, optional: true }

does not include packages/typo3-error-handling/Configuration/Distribution/Config.yml

At least it seems so. Which means the custom error handling is not active.

When I copy the config into config/settings.yaml ErrorHandler will be triggered in Development context, but in Production context there's still the default ProductionExceptionHandler active.

I didn't dive deeper as I'm unsure if the typo3-error-handling package should still be used and why.