Call to a member function getIsPublished() on a non-object

Context | Call stack | Raw dump

Error in '/home/u279240/chess86.ru/src/controller/BirthdayitemController.class.php' around line 15:

12	  function doItem()
13	  {
14	    parent::doItem();
15	    if(!$this->item->getIsPublished())
16	      return $this->forwardTo404();
17	  }
18	}

Request

http://www.chess86.ru/birthdayitem/item/167

Session

lmbCmsSessionUser : OBJECT(lmbSerializable)