Error: Trying to get property of non-object

    in /var/www/html/martini-git/src/core/GeoInformationService/PoliticalServices.php at line 358

#0 /var/www/html/martini-git/src/core/GeoInformationService/PoliticalServices.php(358): ErrorHandler::handleError(8, 'Trying to get p...', '/var/www/html/m...', 358, Array)
#1 /var/www/html/martini-git/src/core/GeoInformationService/PoliticalServices.php(398): MemberOfParliament->getList(Object(Location))
#2 /var/www/html/martini-git/src/modules/LocalInfoModule.php(1020): MemberOfParliament->getHtmlList(Object(Location))
#3 /var/www/html/martini-git/src/modules/LocalInfoModule.php(107): LocalInfoModule->handleListRequest(Array)
#4 /var/www/html/martini-git/src/web.php(392): LocalInfoModule->handleDisplayRequest(Object(HttpRequest))
#5 /var/www/html/martini-git/src/web.php(58): RequestHandler->handleRequestInternal(Object(HttpRequest))
#6 /var/www/html/martini-git/lib/http.php(88): RequestHandler->handleRequest(Object(HttpRequest))
#7 /var/www/html/martini-git/htdocs/index.php(148): HttpApplication->run()
#8 {main}