ErrorException [ Fatal Error ]:
Call to a member function uri() on a non-object
207 $data=[]; 208 $data['property']=$property; 209 210 $breadcrumb=[]; 211 $breadcrumb[] = new \link('/destinations','Destinations'); 212 $breadcrumb[] = new \link($property->country()->uri(),$property->country()?$property->country()->name():''); 213 214 $locations_for_breadcrumb=$property->locations(); 215 $locations_for_breadcrumb=array_reverse($locations_for_breadcrumb); 216 217
61 \Cli::error("Error: ".$e->getMessage()." in ".$e->getFile()." on ".$e->getLine()); 62 \Cli::beep(); 63 exit(1); 64 } 65 } 66 return \Error::shutdown_handler(); 67}); 68 69set_exception_handler(function (\Exception $e) 70{ 71 // reset the autoloader