Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with InspiredMinds/ContaoLanguageAutoswitch #278

Open
GMTeams opened this issue Dec 16, 2024 · 1 comment
Open

Problem with InspiredMinds/ContaoLanguageAutoswitch #278

GMTeams opened this issue Dec 16, 2024 · 1 comment

Comments

@GMTeams
Copy link

GMTeams commented Dec 16, 2024

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.

@fritzmg
Copy link
Contributor

fritzmg commented Dec 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants