Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Cast gridelements_container to integer for ReferenceUpdate #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cedricziel
Copy link

This change prevents strict type conversion null errors in the ReferenceIndex the when no
gridelements_container is set (and the value would strictly be null).

Error message for reference:

Argument 2 passed to TYPO3\CMS\Core\Database\ReferenceIndex::getRecordRawCached() must be of the type integer, null given, called in .../typo3_src-8.7.2/typo3/sysext/core/Classes/Database/ReferenceIndex.php on line 240

This change prevents strict type conversion null errors in the `ReferenceIndex` the when no
`gridelements_container` is set (and the value would strictly be null).

Error message for reference:
```
Argument 2 passed to TYPO3\CMS\Core\Database\ReferenceIndex::getRecordRawCached() must be of the type integer, null given, called in .../typo3_src-8.7.2/typo3/sysext/core/Classes/Database/ReferenceIndex.php on line 240
```
@Bunnyfield
Copy link
Contributor

Please use the official issue tracker for reports or change requests, since this is just a mirror of the official TYPO3 git.

1 similar comment
@Bunnyfield
Copy link
Contributor

Please use the official issue tracker for reports or change requests, since this is just a mirror of the official TYPO3 git.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants