Closed r3wt closed 9 years ago
Should be a Slim\Exception\Pass
https://github.com/slimphp/Slim/blob/2.x/Slim/Slim.php#L1057
I can't reproduce it. Slim uses Exceptions to control the flow, which is just a quirk of slim 2.
@geggleto there are no usage of slim's pass inside of the controller, which is why i'm here. first thing i did was consult the source.
could slim be running out of memory? i'm literally baffled.
What is the type of the Exception?
Also, $e->getTraceAsString() should show you the backtrace…
Oh my god, i need to go to sleep. it was a damn typo, referencing a function that doesn't exist on controller, which propagated to my app, which propagated all the way back to slim
Glad you found it!
$e->getMessage()
outputs ``$e->getFile()
outputs/vendor/slim/slim/Slim/Slim.php
$e->getLine
outputs1057
path is
/api/create_single
route is:
Unsure what the problem is. its a simple form submit with a couple of file inputs. controller pattern is battle tested and working. unsure of this error reason.