There's bug with TYPO3 v10 and feature "Content elements" of EXT:news:
When adding a new content element here, an error is thrown:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Argument 1 passed to TYPO3\CMS\Core\Site\SiteFinder::getSiteByPageId() must be of the type int, string given, called in /typo3conf/ext/autotranslate/Classes/UserFunction/FormEngine/AutotranslateLanguagesItems.php on line 65
There's bug with TYPO3 v10 and feature "Content elements" of EXT:news:
When adding a new content element here, an error is thrown:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Argument 1 passed to TYPO3\CMS\Core\Site\SiteFinder::getSiteByPageId() must be of the type int, string given, called in /typo3conf/ext/autotranslate/Classes/UserFunction/FormEngine/AutotranslateLanguagesItems.php on line 65
This can be fixed here (https://github.com/thieleundklose/autotranslate/blob/main/Classes/UserFunction/FormEngine/AutotranslateLanguagesItems.php#L47) by
$sitePid = (int)$row['pid'];