Debug in WP backend

The problem – I get these warnings each time I login to /admin page in WP.
Depending on which browser I use, there are problems with these:

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘add_role_caps_to_job_agent’ not found or invalid function name in /var/www/public_html/wp-includes/class-wp-hook.php on line 298

Warning: Cannot modify header information – headers already sent by (output started at /var/www/public_html/wp-includes/class-wp-hook.php:298) in /var/www/personale-match.dk/public_html/wp-includes/option.php on line 837

Warning: Cannot modify header information – headers already sent by (output started at /var/www/public_html/wp-includes/class-wp-hook.php:298) in /var/www/personale-match.dk/public_html/wp-includes/option.php on line 838

I’ve tried to look into option.php and class-wp.-hook.php but I’ve not much experience en knowledge what to look for.

Can anyone help?

Thanks!

/Mette

Read more here:: Debug in WP backend

Leave a Reply

Your email address will not be published. Required fields are marked *