#85431Using System > Access on a page and then deleting this page leads to exceptions
Description
Uncaught TYPO3 Exception
The first exception is:
Argument 1 passed to TYPO3\CMS\Backend\Template\Components\DocHeaderComponent::setMetaInformation() must be of the type array, boolean given, called in /var/www/core/typo3/sysext/beuser/Classes/Controller/PermissionController.php on line 134 TypeError thrown in file /var/www/core/typo3/sysext/backend/Classes/Template/Components/DocHeaderComponent.php in line 65.
if you fix this in \TYPO3\CMS\Beuser\Controller\PermissionController::initializeAction
(readPageAccess returns a boolean and not an array)
$pageInfo = BackendUtility::readPageAccess($this->id, ' 1=1');
if ($pageInfo !== false) {
$this->pageInfo = $pageInfo;
}
you get the next one:
Argument 2 passed to TYPO3\CMS\Core\Imaging\IconFactory::getIconForRecord() must be of the type array, null given, called in /var/www/core/typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php on line 690
TypeError thrown in file
/var/www/core/typo3/sysext/core/Classes/Imaging/IconFactory.php in line 113.
34 TYPO3\CMS\Core\Imaging\IconFactory::getIconForRecord("pages", NULL, "small")
…