Issues with AnsPress 4.0.5

5.45K viewsIssues
0

Hi there,

I’ve found quite a few issues on the plugin. I’m not sure why it is happening so please help. My site is hosted on WP Engine with a staging and production setup.

I’m using AnsPress version 4.0.5 and AskBug theme version 3.0.8

Issue #1

Comments are not loading for questions. See image below:

The ajax call to the load_comments function is returning the following response:

<div id="ap-response">{"success":false,"snackbar":{"message":"Unable to load comments"},"ap_responce":true,"is_ap_ajax":true}</div>

My Guess : The nonce is not matching. Also this works in staging but not in production.

Issue #2

Post Actions are not loading.

The ajax call to the post_actions function returns the following response:

<div id="ap-response">{"message":"Something went wrong, last action failed.","ap_responce":true,"message_type":"error","is_ap_ajax":true}</div>

My Guess: same as issue #1

Issue #3

Bread crumbs in user profile page is not working.

All the profile endpoints point to only one url that is : http://mysite.com/questions/user/

This above URL points to an anonymous user profile page.

Issue #4

Edit profile in user profile is not working. The URL on edit profile link is not showing the edit-profile slug, See image Below. I tried to flush rewrite rules by saving permalinks but it didn’t work.

This issue was not present with AnsPress 4.0.0 but is present with AnsPress 4.0.5 so I don’t know if it is an AnsPress issue or an AskBug issue.

Issue #5

Registered date in about me section of profile page is not working. See image below

Please help me in fixing all the above issues asap.

Thanks.

0

Hello Lisa,

Comments and actions are not loading because ajax url is set to non https. Please make sure to force https for everything from wpengine setting. Earlier I had this this issue on wpengine.

Please save your permalinks and user page will be fine. Not sure about registration date issue, is this happening on staging site as well? Can you send me file and site access so that I can further investigate this issue.

commented on answer

Hello Rahul,

The ajax issue got resolved when I started using https. Thanks for that.

But the user profile issue is yet to be resolved. As I already said. I saved permalink settings but the issue hasn’t resolved.

As far as the registration date issue is concerned, I checked the database and the registered date field for the above user was blank hence it showed incorrect date. I think that user was added via the database.

Apart from the user’s edit profile link, even the breadcrumbs on the user profile page are not working for me. This is the case in staging as well. I tried it in a local setup as well. there also the breadcrumbs and edit user profile links are not working.

Thanks for your response.

Are you using latest version of AskBug?

Yes. The first time I downloaded it from the pdf that came in my email with purchase details on 20th June. Now I downloaded it again from My orders page, and installed the theme again. but the problem is still persisting.

I just want to add that, if I use AnsPress version 4.0.0 instead of version 4.0.5, I can see the edit-profile page. Only when I use the latest version of Anspress, I can see the problem.

Hello,

I just installed the latest version of anspress(4.0.5) from wordpress and the latest version of Askbug(3.0.8) from your site in a local machine via xampp.

There are no additional plugins installed and only these two plugins. Still I’m facing breadcrumb issue and the edit-profile issue on the user profile page. Please help me fix this problem asap.

Thanks

Hello, Lisa. I am checking it right now.

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