Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Craft throwing errors with webmentions #1

Open
noahread opened this issue Aug 26, 2017 · 2 comments
Open

Craft throwing errors with webmentions #1

noahread opened this issue Aug 26, 2017 · 2 comments
Assignees

Comments

@noahread
Copy link

I noticed a couple months ago that webmentions stopped working. While testing today via curl I noticed that the server is returning a 500 error:

HTTP/1.1 500 Internal Server Error Server: nginx/1.11.9 Date: Sat, 26 Aug 2017 20:44:31 GMT Content-Type: text/html; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Set-Cookie: CraftSessionId=kuqc7b21gqqn0k7i2ju9pjmttr; path=/; secure; HttpOnly Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache X-Powered-By: Craft CMS Set-Cookie: _ia=ba5da667-79fb-4ab2-a665-72e011278c15; expires=Mon, 26-Aug-2019 20:44:31 GMT; Max-Age=63072000; path=/ charset: utf-8

The Craft logs are showing a php error as well:

Undefined variable: entry (/home/forge/noahread.net/craft/plugins/webmention/services/WebmentionService.php:400)

I’m not sure where to look next. Any thoughts?

@matthiasott
Copy link
Owner

Hi Noah, sorry for answering so late. :/ I'll have a look at it!

@matthiasott
Copy link
Owner

It seems to be related to a source HTML that cannot be parsed with the MF2 parser that parses the HTML for Microformats. Could you provide me with a source URL for which the processing of the Webmention fails so I can reproduce the error? Thanks a lot!

@matthiasott matthiasott self-assigned this Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants