Closed (fixed)
Project:
Scheduler
Version:
2.0.0-rc2
Component:
Scheduler Rules Integration
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2022 at 13:13 UTC
Updated:
3 Jul 2022 at 09:59 UTC
Jump to comment: Most recent
Comments
Comment #2
jonathan1055 commentedThis Rules issue may have some help
#3210303: PHP 8 introduced breaking change to call_user_func_array()
The failure is for all entity types, for example
Comment #3
jonathan1055 commentedThe context variables in our derived conditions and actions are named 'node', 'media', 'commerce_product' and 'taxonomy_term'. However, the
doEvaluate()in our conditions and thedoExecute()in our actions have one parameter$entity. Therefore the fix for this is to make the derivers create a consistent context variable name 'entity', instead of using "$entity_type_id".Comment #5
jonathan1055 commentedThis has fixed the
Unknown named parameter in call_user_func_array()error.Comment #6
jonathan1055 commentedBetter title
Comment #8
jonathan1055 commentedTested manually and all fine.