Whoops, looks like something went wrong.

1/1 ErrorException in GeoCodingService.php line 26: Undefined offset: 0

  1. in GeoCodingService.php line 26
  2. at HandleExceptions->handleError('8', 'Undefined offset: 0', '/home/gn3bjb7b0mye/public_html/www/private/app/Utilities/GeoCodingService.php', '26', array('address' => object(Address), 'addressString' => 'Wivenhoe+Park+++Colchester+Essex+United+Kingdom+CO4+3SQ', 'apiUrl' => 'https://maps.googleapis.com/maps/api/geocode/json?key=AIzaSyDL7-5zBRYmO3AAA_FtrOl_gI9Y4RGk0to&address=Wivenhoe+Park+++Colchester+Essex+United+Kingdom+CO4+3SQ', 'http_response_header' => array('HTTP/1.0 200 OK', 'Content-Type: application/json; charset=UTF-8', 'Date: Wed, 14 Apr 2021 23:53:43 GMT', 'Pragma: no-cache', 'Expires: Fri, 01 Jan 1990 00:00:00 GMT', 'Cache-Control: no-cache, must-revalidate', 'Access-Control-Allow-Origin: *', 'Server: mafe', 'X-XSS-Protection: 0', 'X-Frame-Options: SAMEORIGIN', 'Server-Timing: gfet4t7; dur=30', 'Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"', 'Accept-Ranges: none', 'Vary: Accept-Language,Accept-Encoding'), 'resp' => '{ "error_message" : "You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started", "results" : [], "status" : "REQUEST_DENIED" } ', 'decodedJson' => object(stdClass))) in GeoCodingService.php line 26
  3. at GeoCodingService->getLatAndLngForAddress(object(Address)) in UniversityController.php line 39
  4. at UniversityController->getUniversity(object(University))
  5. at call_user_func_array(array(object(UniversityController), 'getUniversity'), array('university' => object(University))) in compiled.php line 9419
  6. at Controller->callAction('getUniversity', array('university' => object(University))) in compiled.php line 9481
  7. at ControllerDispatcher->call(object(UniversityController), object(Route), 'getUniversity') in compiled.php line 9461
  8. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  10. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  11. at call_user_func(object(Closure), object(Request)) in compiled.php line 9938
  12. at Pipeline->then(object(Closure)) in compiled.php line 9462
  13. at ControllerDispatcher->callWithinStack(object(UniversityController), object(Route), object(Request), 'getUniversity') in compiled.php line 9449
  14. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Frontend\UniversityController', 'getUniversity') in compiled.php line 8517
  15. at Route->runController(object(Request)) in compiled.php line 8504
  16. at Route->run(object(Request)) in compiled.php line 8218
  17. at Router->Illuminate\Routing\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  19. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ModuleInclude.php line 25
  20. at ModuleInclude->handle(object(Request), object(Closure))
  21. at call_user_func_array(array(object(ModuleInclude), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9953
  22. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  23. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  24. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in compiled.php line 9938
  26. at Pipeline->then(object(Closure)) in compiled.php line 8219
  27. at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 8210
  28. at Router->dispatchToRoute(object(Request)) in compiled.php line 8200
  29. at Router->dispatch(object(Request)) in compiled.php line 2419
  30. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  31. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  32. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3225
  33. at VerifyCsrfToken->handle(object(Request), object(Closure))
  34. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9953
  35. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  36. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  37. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13400
  38. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  39. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9953
  40. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  41. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  42. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 11943
  43. at StartSession->handle(object(Request), object(Closure))
  44. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9953
  45. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  46. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  47. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13139
  48. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  49. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9953
  50. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  51. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  52. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13076
  53. at EncryptCookies->handle(object(Request), object(Closure))
  54. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9953
  55. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  56. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  57. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3286
  58. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  59. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9953
  60. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  61. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  62. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  63. at call_user_func(object(Closure), object(Request)) in compiled.php line 9938
  64. at Pipeline->then(object(Closure)) in compiled.php line 2366
  65. at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2350
  66. at Kernel->handle(object(Request)) in index.php line 60