I am getting these errors:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in C:…class-wp-hook.php on line 298
Warning: Cannot modify header information – headers already sent by (output started at C:…wwwcustomThemewp-login.php on line 394 <- and line 407
After I add a custom post type and call:
Because of these warnings I am getting this error on the login: Cookies are blocked due to unexpected output.
Anyone know why this is happening?
Read more here: Custom post type – Errors