Is your function or hook not working in Sage? Read this

If you’re getting an error about call_user_func_array(), chances are you are trying to use a function in the lib directory as a hook or filter and are not passing the namespace along with it.

Please read this blog post to get an idea of what namespaces are and how to use them:

2 Likes