haassie / yoast_news

Integrate Yoast SEO for TYPO3 in EXT:news
5 stars 22 forks source link

Error: Property ogTitle not found in News #30

Open sfroemkenjw opened 11 months ago

sfroemkenjw commented 11 months ago

Hello,

sometimes after a Cache Clear we get the error from above.

Please add a Services.yaml file and exclude the path Domain/Model.

See also: https://codeberg.org/sjbr/static-info-tables/issues/11 where the problem was discussed in more detail.

Problem occures only since TYPO3 10.

Nice greetings

Stefan

sfroemkenjw commented 11 months ago

Full error messge:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1580056272: The type of property GeorgRinger\News\Domain\Model\News::ogTitle could not be identified, as property ogTitle is unknown to the TYPO3\CMS\Extbase\Reflection\ClassSchema instance of class GeorgRinger\News\Domain\Model\News. Please make sure said property exists and that you cleared all caches to trigger a new build of said TYPO3\CMS\Extbase\Reflection\ClassSchema instance. | TYPO3\CMS\Extbase\Persistence\Generic\Mapper\Exception\NonExistentPropertyException thrown in file /kunden/12345/rp-hosting/1234/5678typo3cms/typo3_src-10.4/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php in line 258. 

Stefan