KeyError: no record matches criteria

    in /var/www/html/martini-git/lib/mysql.php at line 1166

#0 /var/www/html/martini-git/lib/geo.php(1181): Database->getRecord('nspd', Array)
#1 /var/www/html/martini-git/lib/geo.php(1159): Location->assertNutsCode()
#2 /var/www/html/martini-git/src/core/GeoInformationService/PoliticalServices.php(476): Location->getNutsCode()
#3 /var/www/html/martini-git/src/modules/LocalInfoModule.php(1044): CouncilTax->getHtmlList(Object(Location))
#4 /var/www/html/martini-git/src/modules/LocalInfoModule.php(132): LocalInfoModule->handleListRequest(Array)
#5 /var/www/html/martini-git/src/web.php(439): LocalInfoModule->handleDisplayRequest(Object(HttpRequest))
#6 /var/www/html/martini-git/src/web.php(81): RequestHandler->handleRequestInternal(Object(HttpRequest))
#7 /var/www/html/martini-git/lib/http.php(88): RequestHandler->handleRequest(Object(HttpRequest))
#8 /var/www/html/martini-git/htdocs/index.php(160): HttpApplication->run()
#9 {main}