You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution: passing the second parameter to call_user_func_array() through array_values() so that it doesn't have keys that would be treated as named parameters.
See https://bugs.php.net/bug.php?id=80531.
That function is being used here https://github.com/brightnucleus/shortcodes/blob/master/src/ShortcodeManager.php#L383 and it is causing the
Unknown named parameter error
in a project where this component for shortcodes is being used.Solution: passing the second parameter to
call_user_func_array()
througharray_values()
so that it doesn't have keys that would be treated as named parameters.The text was updated successfully, but these errors were encountered: