You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ErrorException : Trying to get property of non-object
protected function getAncestor()
{
if ($this->hidden[static::ANCESTOR] === null)
{
$this->hidden[static::ANCESTOR] = $this->buildClosuretableQuery()
->where(static::DEPTH, '=', $this->getDepth())
->first()
->{static::ANCESTOR};
}
I have them a new row in table page.
The text was updated successfully, but these errors were encountered:
$page = Page::create(array(
'title' => 'Test Title',
'excerpt' => 'Test Excerpt',
'content' => 'Test content'
));
ErrorException : Trying to get property of non-object
protected function getAncestor()
{
if ($this->hidden[static::ANCESTOR] === null)
{
$this->hidden[static::ANCESTOR] = $this->buildClosuretableQuery()
->where(static::DEPTH, '=', $this->getDepth())
->first()
->{static::ANCESTOR};
}
I have them a new row in table page.
The text was updated successfully, but these errors were encountered: