We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

get_content and PHP 7.0.0 not playing well?

Emmanuel Beauchamps February 4, 2016 by Emmanuel Beauchamps

Staging server with PHP 7.0.0 and Statamic 1.11.1

the get_contenttag isn't rendered at all. I get a blank DIV. Code:

<div class="col-lg-12 text-center">
                {{ get_content from="rando/intro" }}
                        <h2>{{ title }}</h2>
                        <p class="lead">{{ content }}</p>
                {{ /get_content }}              
</div>

The code is rendering well with PHP 5.6.15 and Statamic 1.11.1. Any idea?

Answered by Emmanuel Beauchamps!
>>>>>>> Answered <<<<<<<
4 Replies
1 Follower