Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

embed Shortcodes break Text::Summary() method. #2929

Open
quamsta opened this Issue · 0 comments

2 participants

@quamsta

We just found that when users were searching for a page on one of our sites that the search results would break when we were using
$Content.Summary(30) in the Page_results.ss template. We were getting this error:

Fatal error: Call to a member function appendChild() on a non-object in /xx/framework/parsers/ShortcodeParser.php on line 124

We're pretty sure this was being caused by at least one correctly formed [embed] shortcode in the content of the results returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.