Be sure to checkout our newest add-on Reading Time Pro!

EE4 compatibility updates:

  • Publisher is EE4 and EE5 compatible, but it does not currently support the Fluid field (it's in the works).
  • Reel is EE4 and EE5 compatible, but it does not currently support the Fluid field.

Ticket: Unexpected ‘s’ (VARIABLE); expected RD in Template

Status Resolved
Add-on / Version Publisher 2.10.8
Severity
EE Version 5.2.2

Matthias Ballmann

Apr 04, 2019

hi brian,

i don’t know if it’s a bug that has to do with publisher, but since it only appears on our bilingual website when the english version is accessed, i thought i’d ask you if the error message tells you something and you could at least tell us a direction where the bug came from.

Accessing the German language version (primary language) of the site works fine, as do all other pages on the site, German and English. Only this one page generates this error message:

—————
Error
You have an invalid conditional in your template. Please review your conditionals for an unclosed string, invalid operators, a missing }, or a missing {/if}.
Parser State: Unexpected ‘s’ (VARIABLE); expected RD in Template “veranstaltungen/index” on line 5.
—————

Since I can’t look at the source code of this page but only see the code of the error page, I don’t know what is in line 5. And everything we have in the templates in line 5, I have tried to narrow down by deleting it. Without success.


Thank you
and kindest regards,
Matthias

#1

BoldMinded (Brian)

Apr 04, 2019

Have you tried backing up your database, uninstalling Publisher, and then seeing if the issue still happens? If it still happens without Publisher installed, then it’s not a Publisher issue. If it does not happen when Publisher is installed, then I’ll need to see the full template code, but even then I don’t know if having me just look at it will help. It sounds like you have tried removing parts of the template to isolate the issue, but you can probably do more before I take a look at it. Keep simplifying the template until you determine which line of code it is in the template. If you can’t determine which line of code it is, then I probably won’t be able to determine it just by looking at the template.

#2

BoldMinded (Brian)

Apr 22, 2019

Closing this b/c of inactivity.

Login to reply

Contact

For add-on support, please use the Support section. General inquries and pre-sale questions can be sent to support@boldminded.com.