PHP8: call_user_func_array break because of named parameters
-
Hi,
There’s an issue with how the call_user_func_array is implemented within the plugin, actually in PHP 8,
$params = call_user_func_array('array_merge', $this->get_editor_options());
will break, and most of the fixes by wrapped with,
array_values($this->get_editor_options())
.It was fixed by that trick but not sure it was okay to remove array keys as I don’t check plugin javascript. For now, I downgraded my PHP to 7.4.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP8: call_user_func_array break because of named parameters’ is closed to new replies.