This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
AlexanderLiebrecht
Hello Community, I have a problem and although an error message is displayed when you call me the blog posts. It is the /storage/cms/cache/19/56/post.htm.php line 5 And standing in line 5:
function onEnd () {$ this- & gt; page- & gt; title = $ this- & gt; post & gt; title; }
How can I fix it again. For any help I would be grateful.
Last updated
Scott
Judging by your escaped code, it looks like this is your onEnd function
function onEnd()
{
$this->page->title = $this->post>title;
}
In which case, you're missing a hyphen after "post". It should be...
function onEnd()
{
$this->page->title = $this->post->title;
}
1-3 of 3