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

Error after latest update

Started by Muut Archive 11 years ago · 8 replies · 296 views
11 years ago

I now receive a "DOMDocumentFragment" exception when I visit the Blog page (see attachment).

I am using the "One-Page" skeleton and I've manually added some blog pages (not the "blog" plugin). I'm also using Inheritance.

Suggestions?

Brian U.

Screen Shot 2015-09-14 at 11

11 years ago

Yah saw this earlier today, it's related to the new truncateHTML. It's supposed to be more exact, but as it uses DOMDocument, it is more sensitive to invalid HTML. I'm thinking about rolling this back to the less accurate previous version, that was at least more reliable.

BTW, the quick fix is to find the offending page, by unpublishing them until it works, and then putting a manual summary delimiter in: ===

11 years ago

I saved a backup, I'll just rollback until I see another update. THX!

11 years ago

I'll get an update out tomorrow with this addressed.

11 years ago

Btw if you have a copy of the page that was causing the problem I would appreciate a copy of it so i can test a fix.

11 years ago

I think i have a solution. Pretty sure the error was caused by an & in the content, and that needed some extra escaping an unescaping as the content gets converted into XML in this new method. Would be really handy to see the page in question though to make sure the new fix works for you.

11 years ago

Sorry, I was away for few days. I just updated everything again and it all seem to be working fine. THX!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1338 9 years ago
Archive · by Muut Archive, 9 years ago
2 927 9 years ago
Archive · by Muut Archive, 9 years ago
2 4056 9 years ago
Archive · by Muut Archive, 9 years ago
1 2941 9 years ago
Archive · by Muut Archive, 9 years ago
3 1112 9 years ago