TYPO3 Exception 1273753083¶
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 section “Troubleshooting” of the menu, and live support is available in the TYPO3 Slack channel #typo3-cms.
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.
Cannot cast object of type “…” to string.¶
The error message basically means that you are trying to directly render an object
that has no __toString()
method. Check your templates.
For example: Instead of just using {myObject.myDateProperty}
, wrap it
with f:format.date
: {myObject.myDateProperty -> f:format.date(format: 'd.m.Y')}
.
See https://forge.typo3.org/issues/38294