4.1.0 Theme error

Solved4.28K viewsIssues


I had posted the issue earlier but then deleted as I thought I resolved it… I am new to anspress..

when I am on the home page for my site www.getlocal.cc it shows the error

Warning: Missing argument 2 for AnsPress_Theme::get_the_excerpt(), called in /wp-includes/class-wp-hook.php on line 298 and defined in /wp-content/plugins/anspress-question-answer/includes/class-theme.php on line 370

When I click to view a question, the above error is repeated multiple times… earlier I had not included the shortcode on the pages but now its there.. what could be the issue?

Question is closed for new answers.
selected answer


I just fixed this issue. Please download fixed version from here: https://github.com/anspress/anspress/archive/master.zip

and manually upload to wp-content folder/plugins/anspress-question-answer.

commented on answer

Hi Rahul,

I uploaded the zip folder as you directed and unzipped at the location but the issue persists… 🙁

Hello, Can you grant me access to your site? If yes then please send details to [email protected]

have sent an email to you, thanks

I dont think you have updated AnsPress properly after fix.

resolved thank you!