- 🇳🇱Netherlands idebr
This issue was fixed in 🐛 Entity without route_provider causes error in renderCommentField Fixed .
Hi I am trying to use Ajax Comments with Products entities, but when i submit the comment form i am getting the following error:
"
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /en/ajax_comments/save_reply/commerce_product/2879/field_comments/18
StatusText: OK
ResponseText: Error: Call to a member function getRoutes() on null in Drupal\ajax_comments\Controller\AjaxCommentsController->renderCommentField() (line 154 of /home/commerce/public_html/web/modules/contrib/ajax_comments/src/Controller/AjaxCommentsController.php)."
If i reload the page i can see the comment correctly.
The same happens on edit and delete comment.
Closed: duplicate
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This issue was fixed in 🐛 Entity without route_provider causes error in renderCommentField Fixed .