TYPO3 Exception 1660215701
Note
Below, the TYPO3 community may have provided additional information or solutions for this exception. However, these may or may not apply to your particular case. If you can provide more information, you should come back here and add your experience and solution steps to this issue once you have resolved it.
General TYPO3 troubleshooting tips can be found in the Troubleshooting section in the menu. You can also ask questions and receive support in the TYPO3 Questions category on talk.typo3.org.
To add your experience, click "Edit on GitHub" above and follow the "Edit on GitHub" workflow. Also check out our tip on Coding Style and reST.
TYPO3 13.4.18 - 26.09.2025
Warning
The type of property MyVendorMyExtensionDomainModelMyModel::pageoverride could not be identified because the property is defined as union or intersection type, therefore the desired value (0) cannot be mapped onto it. Make sure to use only a single type.
The Issue
The model had a setter, which accidently used bool instead of null for a not-set value
#[Lazy]
protected ?Page $pageoverride = null;
public function setPageoverride(Page|bool $pageoverride): void
{
$this->pageoverride = $pageoverride;
}
Solution
- public function setPageoverride(Page|bool $pageoverride): void
+ public function setPageoverride(Page|bool $pageoverride): void