AnsPress shortcode cannot be used inside AnsPress content.

11.72K viewsUpdates
1

Getting the following error on all AnsPress sections of site after updating today:

 

AnsPress shortcode cannot be used inside AnsPress content.

 

Please help!

0

I’ve attempted to use the zip provided but still have the problem.  I need to fix it quickly or I will be forced to move on to another forum plugin.

In hopes someone can still help me get this fixed, here’s a fuller description.

I have two pages that each are meant to have forums (http://higherselfyoga.org/hsy-cafe/hsy-kids/ and http://higherselfyoga.org/hsy-cafe/hsy-for-men/).  In each case the shortcode used on the page refers to the category for that page, i.e. [anspress categories=”hsy-for-kids”] or [anspress categories=”hsy-for-men”].

Everything appeared to be working fine until I updated to 2.4.8, but now it simply shows the error “AnsPress shortcode cannot be used inside AnsPress content” on both pages where the forum was before.

Can anyone help??

edited comment on answer

Open wp-content/plugins/anspress-question-answer/includes/shortcode-basepage.php and go to line 47

and then remove this:

if ( true === $ap_shortcode_loaded ) {
return __('AnsPress shortcode cannot be used inside AnsPress content.', 'anspress-question-answer' );
}

and save.

You are viewing 1 out of 8 answers, click here to view all answers.