CodersCare / gridelements

Be part of the future of TYPO3! Support Gridelements now and unlock exclusive early access to v13! The well-established Gridelements V12 elevates TYPO3 by bringing grid-based layouts to content elements, with powerful features like advanced drag & drop and real references. Supercharge your workflow and make daily tasks easier. Sponsor us here:
https://coders.care/for/crowdfunding/gridelements
GNU General Public License v3.0
5 stars 25 forks source link

checkForAllowedLanguages throws an error #42

Open topsnet-holgerd opened 1 year ago

topsnet-holgerd commented 1 year ago

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 commented 1 year ago

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

Your solution works perfect .. Thanks 👍

Ceremony64 commented 1 year ago

Fixed with #32