• Resolved Anonymous User 9588130

    (@anonymized-9588130)


    Over the past few days I’ve had people report that Webmentions are failing with an error.

    Example failure can be seen here – https://fosstodon.b-cdn.net/media_attachments/files/104/903/315/098/013/266/original/8ee32f4966e435c8.png

    I then got reports from people trying to leave regular comments on my site that they were getting a critical WordPress error when trying to add a comment.

    Strangely though, the comments always come through to the WP backend, but the user gets an error and I don’t get a notification that the comment was added.

    I’ve been digging into the issue on my staging site, and have confirmed the root of the problem with the Webmentions plugin. Here’s what happens:

    1) I attempt to leave a comment as a user that isn’t logged in and get an error saying “There has been a critical error on your website.” when I hit the “comment” button (when logged in commenting works fine). This is repeatable.

    2) I login to WP and see the test comment in the moderation queue – I haven’t received an email notification.

    3) I disable the Webmention plugin and try step 1 again. Everything is fine. I see the comment is awaiting moderation on the front end, and I (as the admin) get an email notification to say that a comment has been added. Again, this is repeatable.

    I enabled debug mode, but see nothing additional on the error screen. I also enabled debug logging, but nothing is being added to the log, so I’m in the dark here.

    Happy to give you admin access to my staging site so you can test yourself.

    Thanks,

    Kev

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Matthias Pfefferle

    (@pfefferle)

    Hmmm, I saw this, when I commented lately.

    I sadly can not reproduce it on my site… Have you installed some security/comment/… plugins you installed/updated lately?

    Thread Starter Anonymous User 9588130

    (@anonymized-9588130)

    Thanks for the quick reply.

    I haven’t. In terms of plugins installed, nothing has changed for months.

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    Can you enable WP_DEBUG on your server and see, if you receive some more detailed errors?

    Thread Starter Anonymous User 9588130

    (@anonymized-9588130)

    I’ve done that, it doesn’t change the error.

    I’ve also enabled WP_DEBUG_LOG, but no log file is created.

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    I released a new Webmention version, can you recheck with v4.0.5?

    Thread Starter Anonymous User 9588130

    (@anonymized-9588130)

    Wow! You work quickly! That appears to have fixed the issue. Were you able to work out what it was?

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    Not really, but we had merged a lot into the Webmention lately, to work on version 5.x, that is a merge of the Webmention and the Semantic-Linkbacks plugin. But to have some quick fixes, we released another 4.X version with some untested stuff ?? (sorry for that).

    And because you mentioned, that you do not receive any mails, I guessed it might be the notification class.

    Thread Starter Anonymous User 9588130

    (@anonymized-9588130)

    Fantastic. Thanks for all your help, Matthias and the ridiculously quick turnaround.

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Critical error when people comment’ is closed to new replies.