- 🇨🇦Canada joseph.olstad
@dariogcode ,
Yes for some reason I needed that patch #13 , without it I got a big error message. Unfortunately I can't reproduce now. Patch seems to be needed.
This appears to affect PHP 8.0 as well as PHP 8.1
- 🇦🇺Australia PetarB
I can confirm issue was resolved on PHP 8.0 with patch #13 thanks dariogcode
- 🇨🇦Canada joseph.olstad
💬 Error: Unknown named parameter $user in call_user_func_array() Closed: duplicate
- 🇨🇦Canada joseph.olstad
@TR mentioned this:
Patch 13 is wrong. Patch 13 will not be committed.
The main issue here was fixed TWO YEARS ago. That fix revealed a few additional problems with typing and semantics in the rules_user_login and rules_user_logout events. The needed changes to those events are in ✨ Unable to get variable 'user' Needs review . You can help with that, if this is important to you. It needs a hook_update_N().
- 🇧🇾Belarus q2_faith
Hi there,
The main issue can be easily fixed if you extend class RulesConditionBase. But if you use deriver of plugin and in the method getDerivativeDefinitions make static call ContextDefinition::create(). And so to speak, in this case, there are no ways to fix it.
Based on this, I really suggest implementing this fix.
Thanks in advance!
P.S. I found that for 7-x version this approach was used.