asked 10 years ago

I’m having error when editing a question but what’s weird is that editing an answer is totally fine. Here’s the error I’m having Notice: Undefined variable: post_submit_filter in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/dw-question-answer/inc/actions.php on line 886

Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/plugins/dw-question-answer/inc/actions.php:886) in/Applications/MAMP/htdocs/wordpress/wp-includes/pluggable.php on line 1121
0   Thanks! Any advice is appreciated!

1 Answers
answered 10 years ago

Apologies for the delay in replying to you.
If your following along with the tutorial you don’t need that pluggable file unless you have plans for it. But if you are going to use it. You might want to check out this link. http://codex.wordpress.org/Pluggable_Functions You will have to wrap your function with this ( !function_exists() ) otherwise you will get that error you getting. Hope this helps!

Powered by DW Question & Answer Pro