Bug #97699
closedArgument must be array when accessing a custom finisher variable
100%
Description
If you try to access a finisher variable, of a finisher which wasn't executed before, by using
$this->finisherContext->getFinisherVariableProvider()->get('NotExecutedFinisher', 'key', 'default')
the following error is thrown:
Argument #1 ($array) must be of type array, null given
This error happens on PHP 8 and higher, because TYPO3\CMS\Core\Utility\ArrayUtility::getValueByPath() expects an array as first parameter, but receives null.
Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74775
Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74775
Updated by Gerrit Code Review over 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74775
Updated by Gerrit Code Review over 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74775
Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74832
Updated by Josua Vogel over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 70ed0ede84f228980c02012143695b59c3cd049b.
Updated by Gerrit Code Review over 2 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74932
Updated by Josua Vogel over 2 years ago
- Status changed from Under Review to Resolved
Applied in changeset 919fc6b086df39c9f600d3a78b5e6ac8ea492c7e.