Upload was deleted
The stacktrace displays the function calls made that led to the error. They are displayed in an inverted order to how they were called.
- $upload = db()->table('upload')->get('_id', $name)->first(true);
- $media = db()->table('media')->get('upload__id', $upload->_id)->where('format', self::$translateSizes[$size])->all();
- /*
- * Make sure the application does not provide any deleted uploads.
- */
- if ($upload->deleted) {
- throw new PublicException('Upload was deleted', 410);
- }
- if ($upload->figure) {
[Internal function]
- call_user_func_array(Array($this->controller, '_onload'), Array($this->action));
- }
- $this->middleware->before();
- #Check if the controller can handle the request
- $request = Array($this->controller, $this->action);
- if (is_callable($request)) { $_return = call_user_func_array($request, $this->object); }
- else { throw new PublicException('Page not found', 404, new PrivateException('Action not found', 0)); }
- $this->middleware->after();
- #Define the context, include the application's middleware configuration.
- current_context($initContext);
- include CONFIG_DIRECTORY . 'middleware.php';
- #Get the return context
- /*@var $context Context*/
- $context = $initContext->run();
- #End debugging output
- $context->view->set('_SF_DEBUG_OUTPUT', ob_get_clean());
- include __DIR__ . '/vendor/autoload.php';
- include __DIR__ . '/spitfire/bootstrap.php';
- include __DIR__ . '/bin/settings/services.php';
- ini_set('memory_limit', '128M');/**/
- /* Call the selected controller with the selected method. */
- spitfire()->fire();
List of messages the app generated during it's execution