[Notice] Trying to get property of non-object

GET /workplace/item/209/Fujitsu+Electronics+Europe+GmbH

Line 588 in /usr/www/users/gptwfl/gptw-live/mysite/code/Page.php

Source

579 		$params = $params->allParams();
580 		$id = $params['ID'];
581 
582 		if(!isset($id)){
583 			$this->redirect($this->Link());
584 			return false;
585 
586 		}
587 		$workplace = DataObject::get_by_id('Workplace', $id);
588 		return $this->customise(new ArrayData(array('Title' => $workplace->Title, 'Workplace' => $workplace, 'IsWorkplaceView' => true)))->renderWith(array('Workplace', 'Page'));
589 	}
590 
591 
592 	public function countLiveWorkplaces(){
593 		if($this->ClassName == 'WorkplaceHolder') {
594 			$holder = $this;

Trace

» Great Place to Work Deutschland

 
+49 221 / 93 335 - 0
© Great Place To Work® Institute. All Rights Reserved.
made with by CIC