Home Forums Support TBTestimonials Exception from twig

Exception from twig

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Travis Ballard 3 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
Author Posts
Author Posts
July 13, 2013 at 2:56 pm #758

sammythesm
Participant
Post count: 1

<p>My server monitor is reporting this exception:
Uncaught Exception: Uncaught exception ‘Twig_Error_Syntax’ with message ‘Unexpected character “;” in “</p>

<p style=”line-height: 14{{ ;”>{{ testimonial_excerpt }}</p> <p style=”margin-top: 10px;”>Click to read more…</p>

<p>” at line 2′ in /var/www/html/deenagh.com/wp-content/plugins/tb-testimonials/inc/twig/lib/Twig/Lexer.php:285</p>

<p>Is twig not properly escaping “;” characters? How do I resolve this?</p>

<p>Thanks,
Sam</p>

July 13, 2013 at 2:56 pm #759

sammythesm
Participant
Post count: 1

<p>Uncaught Exception: Uncaught exception 'Twig_Error_Syntax' with message 'Unexpected character ";" in "</p>

<p style="line-height: 14{{ ;">{{ testimonial_excerpt }}</p> <p style="margin-top: 10px;">Click to read more...</p>

<p>" at line 2' in /var/www/html/deenagh.com/wp-content/plugins/tb-testimonials/inc/twig/lib/Twig/Lexer.php:285</p>

July 13, 2013 at 3:29 pm #760

Travis Ballard
Keymaster
Post count: 34

This is likely caused by an error in your syntax settings. It looks like this part here to me is the problem “”line-height: 14{{ “, with the {{ being there, twig is expecting a template tag.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.