I've installed both the beta and the dev version and am having the same issue.
When logged in and I try to post a comment I get a red box with nothing in it, i'm assuming that is an error. I can see the comment in the backend, but it's not showing up and I get the following in the logs:
Error: Call to a member function model() on null in Drupal\react_comments\Plugin\rest\resource\Comments->post()
When trying to post as an anon user I get the same red box but with the following message in it:
Contact info for anonymous users is forbidden
Nothing in the logs.
I have checked the permissions and everything looks okay.
Any ideas?
Comments
Comment #2
elaman@Netsurge I've tried to reproduce your issue on fresh installation and didn't succeed. Could you provide the following information:
- Which version of Drupal you are using
- Which version of React you are using
- On which entity you are using Comments field?
- Have you renamed the comment field?
- Are there other JavaScript libraries or custom scripts that can interfere with React Comments? Check your browser console for JavaScript errors.
Comment #3
MikheevDesign commentedI get the same error on two sites, that's what the console:
Failed to load resource: the server responded with a status of 400 ()Comment #4
philsward commentedGetting similar issue, however it happens when trying to "delete" a comment.
Chrome Console Errors
Errors on page load:
Error when trying to delete:
Comment #5
amccune commentedI also have the same issue. The commenting kicks in and displays ok, but there are no links for adding or editing comments.
Using Drupal 8.9.7 and React Comments 8.x-1.0-beta2
The commenting issue is on the standard forum content type, unmodified in any way.
There is a log entry for page not found for "/modules/react_comments/css/dist/main.229d614e.css.map" but nothing in the console regarding any other errors.
Other than this, the module looks perfect for what I need
Comment #6
amccune commentedUpdate on this, the issue of not being able to see a post comment box does not happen in Using Drupal 8.9.7 and React Comments 8.x-1.0-beta1, only in beta2
Comment #7
chucksimply commented@amccune - same result here. beta1 shows fine, beta2... comment box disappears.
Log shows "Page not found" warnings at "/modules/contrib/react_comments/js/dist/main.29c5c118.js.map" and "/modules/contrib/react_comments/css/dist/main.229d614e.css.map"
Comment #8
chucksimply commentedComment #9
chucksimply commentedThis should be a major priority if the new version of the module is unusable due to this bug.
Comment #10
mjsamaan commentedBump, I'm seeing this too. Any ideas on how to patch?
Comment #11
minnur commentedIs this still relevant ?
Comment #12
minnur commentedLooking into this
Comment #14
minnur commented