500 error when submitting Question

Solved4.14K viewsIssues
0

Hello. Amazing plugin…but it’s not working for me.
Basically, when posting Question, it lands on a blank page (think WSD error 500 page – found in Inspection Tools), inspection tools shows that the url isn’t available.
It also happens anytime you try to go to the actual single page with Question.
Everything else works (profile, tags, list of Questions, add-ons, etc.)…just not the actual page with Question on it.
I check permissions, I tried debugging (WP Debug, php error logs, etc.), but can’t find any issue.
Any other suggestions?
Thank you so much, I really hope this works.

Question is closed for new answers.
Changed status to publish
0

Ah, figured out my problem. In functions.php I have code to show excerpt on post page:

add_filter( 'the_content', 'my_the_content_filter', 20 );
function my_the_content_filter( $content ) {
    if ( is_single() )
        $content = get_the_excerpt() .$content ;
    return $content;
}


And this is what is giving your plugin an error when I tried to look at the Question.
Do you have a suggestion for a work around?
I need your plugin as much as I need the excerpt.
Any suggestion(s) would be sincerely appreciated.
Thank you – amazing plugin.

Changed status to publish
You are viewing 1 out of 2 answers, click here to view all answers.