Home › Forums › General Issues › call_user_func_array() expects parameter 1 to be a valid callback › Reply To: call_user_func_array() expects parameter 1 to be a valid callback
Somewhere in your code you have a line that looks something like this
add_filter('some-hook-name', 'my_acf_op_init');
or
add_action('some-hook-name', 'my_acf_op_init');
the first part is the hook, the error does not indicate what hook it is on. The second part is the function to be called, that function does not exist.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.