Hello to all of you,
has anybody suffered from following:
I do something like that:
$nr = $page;
$nr->of(false);
$nr->foo= $bar;
$nr->foo2 = $bar2;
$page->save();
$p = new Page();
$p->of(false);
$p->template = 'foobar';
$p->parent = $pages->get('/bar/');
$p->title = $bar;
$page->save();
then populate some more fields and again
$page->save();
Everything is working fine and my created confirm save message pops up....the page is saved, but there are 3 outputs giving me $page->title after saving on the frontend. It has something to do with the save method, because when I leave them out everything is working just as designed...
Hopefully somebody has advice!
Regards