File tree Expand file tree Collapse file tree 1 file changed +26
-16
lines changed
Expand file tree Collapse file tree 1 file changed +26
-16
lines changed Original file line number Diff line number Diff line change @@ -7,25 +7,35 @@ TYPO3 Exception 1660215701
77.. include :: /If-you-encounter-this-exception.rst.txt
88
99
10- ..
11- TYPO3 [version] - [date of report]
12- ==================================
10+ TYPO3 13.4.18 - 26.09.2025
11+ ==========================
12+
13+ .. warning ::
14+ The type of property MyVendor\M yExtension\D omain\M odel\M yModel::pageoverride could not be identified because the property
15+ is defined as union or intersection type, therefore the desired value (0) cannot be mapped onto it.
16+ Make sure to use only a single type.
17+
18+ The Issue
19+ ---------
20+
21+
22+ The model had a setter, which accidently used bool instead of null for a not-set value
23+
24+ .. code-block :: php
1325
14- Installation Overview
15- ---------------------
26+ #[Lazy]
27+ protected ?Page $pageoverride = null;
1628
17- Provide as much information about your installation of TYPO3
18- including its version number and any other information that
19- you think will be relevant to other users who encounter the same issue.
29+ public function setPageoverride(Page|bool $pageoverride): void
30+ {
31+ $this->pageoverride = $pageoverride;
32+ }
2033
21- The Issue
22- - --------
34+ Solution
35+ --------
2336
24- Detail each of the steps or changes that took place leading up to the
25- issue occurring.
2637
27- Solution
28- --------
38+ .. code-block :: diff
2939
30- Did you resolve the issue? List the steps or changes made that resolved the
31- issue.
40+ - public function setPageoverride(Page|bool $pageoverride): void
41+ + public function setPageoverride(Page|bool $pageoverride): void
You can’t perform that action at this time.
0 commit comments