Fixes: Warning: call_user_func_array() expects parameter 1 to be a valid callback