2.1.5-pl advanced on a linux install. Do I have this incorrect? This is in a page template, and kicking the below error, but only SOMETIMES (cleared site cache on save.) If I reload the page, it goes away, and comes back now and again.
<title>[[*longtitle:notempty:then=`[[*longtitle]]`:else=`[[*pagetitle]]`]] | [[++site_name]]</title>
Parse error: syntax error, unexpected ')' in (my path)public_html/core/model/modx/filters/modoutputfilter.class.php(158) : eval()'d code on line 1
Interesting note, it **does** properly render pagetitle - but site name is empty - I tried removing the pipe character J.I.C.
I do have other filters on the same template, maybe that's mucking it up:
[[*program-image:notempty=`<div class="prog-img"><img src="[[*program-image]]" alt="[[*pagetitle]]"></div>`]]
<h1>[[*pagetitle]]</h1>
[[*program-date:notempty=`<h3 class="prog-date">[[*program-date]]</h3>`]]
[[*program-host:notempty=`<h4>[[*program-host]]</h4>`]]
[[*program-location:notempty=`<h4>[[*program-location]]</h4>`]]