Actions
Bug #96342
closedNumerous PHP 8.0 warnings in EditDocumentController
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-12-13
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
On a live system with TYPO3 11 and PHP 8.0, a number of PHP warnings are logged at the same time:
PHP Warning: Trying to access array offset on value of type bool in /typo3/sysext/backend/Classes/Controller/EditDocumentController.php line 1391 PHP Warning: Trying to access array offset on value of type bool in /typo3/sysext/backend/Classes/Controller/EditDocumentController.php line 1364 PHP Warning: Trying to access array offset on value of type bool in /typo3/sysext/backend/Classes/Controller/EditDocumentController.php line 1363 PHP Warning: Trying to access array offset on value of type null in /typo3/sysext/backend/Classes/Controller/EditDocumentController.php line 1300 PHP Warning: Undefined array key '' in /typo3/sysext/backend/Classes/Controller/EditDocumentController.php line 1300 PHP Warning: Trying to access array offset on value of type bool in /typo3/sysext/backend/Classes/Controller/EditDocumentController.php line 1300 PHP Warning: Trying to access array offset on value of type bool in /typo3/sysext/backend/Classes/Controller/EditDocumentController.php line 1299 PHP Warning: Trying to access array offset on value of type bool in /typo3/sysext/backend/Classes/Controller/EditDocumentController.php line 1299
I cannot pinpoint exactly when this happens, but it's always caused by a non-admin user, so it might be related to restricted access to certain pages/content elements.
Actions