Skip to content
Grav 2.0 is officially stable. Read the announcement →
Plugins

Plugin Comment | Some comments are not saved

plugins

Started by Bastian Schuberth 4 years ago · 5 replies · 631 views
4 years ago

Hi,

I have a very mysterious bug with the "comment" plugin: some comments are not saved - about 1 of 10 comments are lost.

I use

  • Grav v1.7.25,
  • Quark v2.0.4 (slightly adapted - CSS and templates) as theme
  • Comments v1.2.8
  • Form v5.1.4
    on PHP 8.1.0.

In the template I have integrated the comments as follows:

TWIG
 {% if config.plugins.comments.enabled%}
     {% include 'partials / comments.html.twig' with {'page': page}%}
 {% endif%}

The comment fields are also displayed correctly and 9 out of 10 comments are correctly saved and the email is also sent. Only about 1 in 10 comments simply go away (not saved and no mail).

I've already checked logs from Grav and Apache, but there is simply nothing to be seen.

Does anyone have similar experiences or a tip on how I can fix the problem.

Thank you for your support!

last edited 12/30/21 by Bastian Schuberth
4 years ago

@Bastian, Did you have a look at the repo of plugin Comments.

4 years ago

@pamtbaau, yes I did. But there is no bug, with these problem.

If nobody knows the problem, i will open an error ticket there...

4 years ago

Do you have a specific comment text that's not being submitted? Maybe some weird symbol breaks the process 🤔

4 years ago

Unfortunately, I do not know all of the comments that have been submitted ...

There were no unusual signs in my tests.

They were structured as follows:

Test date // time // number
Test 30.12.21 // 19:52 // #01
...

Then some of them are missing.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 80 1 week ago
Plugins · by Xavier, 4 weeks ago
2 84 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1210 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 77 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 103 2 months ago