I'm getting this error in my WordPress dashboard which has to do with the custom post type I've got set up.
"Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'admin_init' not found or invalid function name in /nfs/c03/h01/mnt/81147/domains/bitthirsty.com/html/wp-includes/plugin.php on line 406"
This is how my custom post type is set up in functions.php file:
I'm getting this error in my WordPress dashboard which has to do with the custom post type I've got set up.
"Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'admin_init' not found or invalid function name in /nfs/c03/h01/mnt/81147/domains/bitthirsty.com/html/wp-includes/plugin.php on line 406"
This is how my custom post type is set up in functions.php file:
Any idea what could be the problem?
Any help would be appreciated.
Thanks in advance!