in2code-de / luxletter

Newsletter system for TYPO3
https://www.in2code.de/agentur/typo3-extensions/luxletter/
23 stars 25 forks source link

Luxletter prevents creation of new pages in TYPO3 11, PHP8.0 and MySQL/MariaDB strict mode #115

Closed magicHatOfTYPO3 closed 2 years ago

magicHatOfTYPO3 commented 2 years ago

If you use luxletter with TYPO3 11LTS and PHP 8.0 on a system with a MySQL/MariaDB database configured to strict, you get an error in the backend right after installation when creating new pages:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1476107295: PHP Warning: Undefined array key "NEW_1" in /var/www/html/vendor/typo3/cms-frontend/Classes/Hooks/TreelistCacheUpdateHooks.php line 81 | TYPO3\CMS\Core\Error\Exception thrown in file /var/www/html/vendor/typo3/cms-core/Classes/Error/ErrorHandler.php in line 137. Requested URL: https://whatever.ddev.site/typo3/ajax/record/process?token=--AnonymizedToken--

and the new page is not created. The problem persists even after uninstalling luxletter and is definitely DB-related. (Importing a DB dump before installing luxletter: everything works. Installing luxletter: system is broken. Uninstalling luxletter: system remains broken).