Whoops, looks like something went wrong.

1/1 ErrorException in CompressController.php line 182: Undefined variable: service

  1. in CompressController.php line 182
  2. at HandleExceptions->handleError(8, 'Undefined variable: service', '/home/nginx/domains/api.themespond.com/app/Http/Controllers/Service/ImageOptimizer/CompressController.php', 182, array('upload_size' => 34353, 'compressed_size' => 34587, 'check' => false, 'stastics' => array('_id' => object(ObjectID), 'service' => array('image_optimizer' => true), 'address' => 'anonymous', 'salt' => [email protected]|93', 'token' => 'abe44cd8-cc5b671b-6802a00c-e522a468', 'updated_at' => object(UTCDateTime), 'created_at' => object(UTCDateTime), 'image_optimizer' => array('total_image_uploaded' => 210708, 'total_size_uploaded' => 7351628418, 'total_error' => 32050, 'total_image_success' => 60731, 'total_uploaded_success' => 3269113084, 'total_compressed_success' => 650111189), 'flag' => true), 'total_image' => 210709, 'total_size_uploaded' => 7351662771, 'total_image_success' => 60731, 'uploaded_size_success' => 3269113084, 'compressed_size_success' => 650111189, 'total_error' => 32050)) in CompressController.php line 182
  3. at CompressController->update_stastics_after_optimized(34353, 34587, false) in CompressController.php line 158
  4. at CompressController->send_compress_via_curl('/tmp/php5theSq', false) in CompressController.php line 92
  5. at CompressController->get_anonymous_request()
  6. at call_user_func_array(array(object(CompressController), 'get_anonymous_request'), array()) in Controller.php line 55
  7. at Controller->callAction('get_anonymous_request', array()) in ControllerDispatcher.php line 44
  8. at ControllerDispatcher->dispatch(object(Route), object(CompressController), 'get_anonymous_request') in Route.php line 204
  9. at Route->runController() in Route.php line 160
  10. at Route->run() in Router.php line 559
  11. at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 30
  12. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in SubstituteBindings.php line 41
  13. at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 148
  14. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
  15. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 65
  16. at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 148
  17. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
  18. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  19. at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 148
  20. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
  21. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  22. at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 148
  23. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
  24. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  25. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 148
  26. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
  27. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
  28. at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 148
  29. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
  30. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 102
  31. at Pipeline->then(object(Closure)) in Router.php line 561
  32. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 520
  33. at Router->dispatchToRoute(object(Request)) in Router.php line 498
  34. at Router->dispatch(object(Request)) in Kernel.php line 174
  35. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 30
  36. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in TransformsRequest.php line 30
  37. at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php line 148
  38. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
  39. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in TransformsRequest.php line 30
  40. at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php line 148
  41. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
  42. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ValidatePostSize.php line 27
  43. at ValidatePostSize->handle(object(Request), object(Closure)) in Pipeline.php line 148
  44. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
  45. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
  46. at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 148
  47. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
  48. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 102
  49. at Pipeline->then(object(Closure)) in Kernel.php line 149
  50. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116
  51. at Kernel->handle(object(Request)) in index.php line 54