Hello World!
I’ve a strange problem and hope, that one of you can give me a hint how to solve this.
My result:
Exception Caught
No such property: 'typography' on EllisLab\ExpressionEngine\Legacy\Facade
ee/EllisLab/ExpressionEngine/Legacy/Facade.php:119
See https://dumptext.com/5HwVQnRC for complete stack trace.
I’ve reproduced this on 2 different sites. The culprit SEEMS to be a Low Variables & Expresso-field variable … I just don’t get why and how and…
The site has a main.html layout. The site has a sub.html partial layout that loads the main layout. The template that throws the error looks like this:
{layout="_layouts/_sub"}
{layout:set name="title" value="Thank You!"}
<div class="container mb-5">
<div class="row">
<div class="col-12">
Thank You!
<a href="http://{site_url}" title="Home">Home</a>
</div>
</div>
</div>
The _sub-Layout sets {layout="_layouts/_main"} as layout. In the main-layout there’s
{exp:low_variables:pair var="footer_contact"}
<div class="col-12 text-center col-md-6 text-md-left col-xl-4 pb-3">
{footer_contact:content}
</div>
{/exp:low_variables:pair}
The strange thing is: It works.
It works on index pages where I loop some channel content (i.e. news), it works on entry pages that display a single entry … it JUST does not work on pages where no channel content is requested. In this case as “Thank You”-page that is displayed when someone submits a form.
When i add
{exp:channel:entries channel="news"}
{/exp:channel:entries}
to this page, without putting out anything… it works. (That’s my quick-fix for now…)
(Also: When i change the field from Expresso to a simple text input, everything works.)
So, my question for people much smarter than me: What does the channel loop do that could possibly cause this exception to not be thrown in this case? Because I am feeling kinda stupid atm … :D
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.