codefog/contao-news_categories

Problem with InspiredMinds/ContaoLanguageAutoswitch

Opened this issue · 1 comments

Contao 5.3
PHP 8.2

When I try to install this plugin I get the following error:

Fatal error: Declaration of InspiredMinds\ContaoLanguageAutoswitch\NewsCategoriesManager::getTargetPage(Codefog\NewsCategoriesBundle\Model\NewsCategoryModel $category) must be compatible with Codefog\NewsCategoriesBundle\NewsCategoriesManager::getTargetPage(Codefog\NewsCategoriesBundle\Model\NewsCategoryModel $category): ?Contao\PageModel in /var/www/web/html/contao/vendor/inspiredminds/contao-language-autoswitch/src/NewsCategoriesManager.php on line 26
Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 255

Please let me know if I have to head over to InspiredMinds, thanks.

You need to raise the issue in that extension, not here.