[Notice] Trying to get property of non-object

GET /abteilungen/ext/8

Line 37 in /homepages/38/d16146559/htdocs/www2/mysite/code/pages/SportListPage.php

Source

28 	}
29 	
30 	public function getSpoPaUrl()
31 	{
32 		//returns URL für den iFrame für externe Abteilungs-Seitenlinks 
33 		$idies = $this->getRequest()->params();
34 	
35 		$idie = $idies['ID'];
36 		
37 		return SportPage::get()->byId($idie)->externalLink;
38 	}
39 	public function ext ()
40 	{
41 		
42 		//print_r($this->getRequest()->params());
43 		return $this->renderWith("externalSportPage");

Trace

GET /abteilungen/ext/8

[Notice] Trying to get property of non-object

GET /abteilungen/ext/8

Line 37 in /homepages/38/d16146559/htdocs/www2/mysite/code/pages/SportListPage.php

Source

28 	}
29 	
30 	public function getSpoPaUrl()
31 	{
32 		//returns URL für den iFrame für externe Abteilungs-Seitenlinks 
33 		$idies = $this->getRequest()->params();
34 	
35 		$idie = $idies['ID'];
36 		
37 		return SportPage::get()->byId($idie)->externalLink;
38 	}
39 	public function ext ()
40 	{
41 		
42 		//print_r($this->getRequest()->params());
43 		return $this->renderWith("externalSportPage");

Trace

Abteilungen » SSV Schrobenhausen e.V