Anspress 4 b4: Comments problem
Trying to post a COMMENT to a Question or an Answer, one out of three times it fails. Remain stuck on the circle animation and nothing. And the comment is not posted.
Thanks
NOT fixed.
Also:
[07-Feb-2017 13:21:02 UTC] PHP Notice: Trying to get property of non-object in /home/wp-content/plugins/anspress/includes/qameta.php on line 60
Maybe the notice is NOT related to the problem i describe ?
Fixed, please check and confirm
The NOTICE is fixed but not the Comment problem.
Also now i CAN’T Post a New Question. Saving doesn’t complete, stuck.
Must be related to JS? But I dont see any issue while posting comment. May be cache? try creating a file in AnsPress plugin folder called “env” and add text “development” in that file and then try.
No caching and browser caching is cleared. I can’t post a comment and now (after the last commit) i can’t also post a Question. No JS errors in dev windows of browser. Clear.
I will try what you say, not sure why i must do that anyway.
That will enable development mode. Hence non-minified assets will be loaded by default.
Ok, i did that yesterday and didn’t change anything. I can’t Ask a Question (doesn’t save) and i can’t also comment (doesn’t save).
Will you give me access to your site?
Rahul,
Please UNCHECK
Check for duplicate posts before posting
and try to post a new question.
Yes, I also figured it out just few minutes ago. Thanks for your effort, I will fix it.
Just made a commit to fix this issue, will you please check and confirm if its solved. Thanks
Posting a New Question is fixed now BUT comment posting is NOT. After 2-3 comments, you get stuck in saving circle.
Oh check ajax response, do you see “you are posting comment too frequently”.
No, nothing like that. And i’m not flooding with comments. I wait. Still same problem. After 2-3 comments, stuck.
I made a commit, please check and confirm
When this happens, this is added to the debug log:
[07-Feb-2017 00:41:53 UTC] PHP Notice: Trying to get property of non-object in /home/wp-content/plugins/anspress/includes/qameta.php on line 56