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

checkForAllowedLanguages throws an error #42

Open
topsnet-holgerd opened this issue Jul 4, 2023 · 2 comments
Open

checkForAllowedLanguages throws an error #42

topsnet-holgerd opened this issue Jul 4, 2023 · 2 comments

Comments

@topsnet-holgerd
Copy link

topsnet-holgerd commented Jul 4, 2023

Typo3 10.4.37, PHP 7.4
When inserting a new CE into a gridelement, an error is thrown:
Argument 2 passed to GridElementsTeam\Gridelements\Backend\ItemsProcFuncs\SysLanguageUidList::checkForAllowedLanguages() must be of the type int, string given, called in typo3conf/ext/gridelements/Classes/Backend/ItemsProcFuncs/SysLanguageUidList.php
I changed the call of the function in line 42:
$this->checkForAllowedLanguages($params['items'], (int)$params['row']['tx_gridelements_container']);
This fixed the problem.

@jimit-net2typo
Copy link

jimit-net2typo commented Jul 27, 2023

face this issue in
TYPO3 v10.4.37
Gridelements v11.0.0
PHP v7.4

Your solution works perfect .. Thanks 👍

@Ceremony64
Copy link
Contributor

Fixed with #32

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

No branches or pull requests

3 participants