Backend Module crashes on loading
Hi
Today I installed the extension nnrestapi according to the instructions. I could not call the backend module. The logs reported the following error:
PHP Warning
Core: Error handler (BE): PHP Warning: Attempt to read property "psr-4" on null in /var/www/virtual/itcaluch/velocasa_dev/public/typo3conf/ext/nnrestapi/Classes/Utilities/Endpoint.php line 488
Without further ado I installed a fresh TYPO3 instance. The installation and use of nnrestapi worked perfectly there. In the following I compared the two installations:
- .htaccess
- Site configuration
- System Extensions
- Own Plugins
- .env settings
Finally, I came across a small difference: The non-working instance is running in development mode, the working one in production mode. In development mode I have set the SYS setting "exceptionalErrors" to 12290, in production mode this setting is set to 4096 (default).
As soon as I change "exceptionalErrors" to 4096 in development mode, the backend module works fine; if I set 12290 again, it crashes again. What could be the reason for this behaviour?
About my environment:
- TYPO3 11.5.17
- Webserver Apache/2.4.54 (Unix)
- PHP 8.1.11
- Database MySQL 10.3.28-MariaDB
- Application Context Development
-
Composer-Mode activated
-
exceptionalErrors 12290 or 28674 do not work
- exceptionalErrors 4096 works
Comments (3)
-
-
Probably we need an additional condition here. No problem - we‘ll have it in the next release.
-
- changed status to resolved
- Log in to comment
Sorry, the message went off too soon, I wasn't even logged in yet....
Thanks for looking at the bug reported above as a "Former user". Finally, a big praise: great extension, top tutorial....
Best regards
Dominik