Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Slim Application Error
The application could not run because of the following error:
Details
Type: ErrorException
Code: 2
Message: array_key_exists() expects parameter 2 to be array, boolean given
File: /web/sites/ownyourgram.com/lib/helpers.php
Line: 41
Trace
#0 [internal function]: Slim\Slim::handleErrors(2, 'array_key_exist...', '/web/sites/owny...', 41, Array)
#1 /web/sites/ownyourgram.com/lib/helpers.php(41): array_key_exists('me', false)
#2 /web/sites/ownyourgram.com/controllers/auth.php(265): k(false, Array)
#3 [internal function]: {closure}()
#4 /web/sites/ownyourgram.com/vendor/slim/slim/Slim/Router.php(172): call_user_func_array(Object(Closure), Array)
#5 /web/sites/ownyourgram.com/vendor/slim/slim/Slim/Slim.php(1222): Slim\Router->dispatch(Object(Slim\Route))
#6 /web/sites/ownyourgram.com/vendor/slim/slim/Slim/Middleware/Flash.php(86): Slim\Slim->call()
#7 /web/sites/ownyourgram.com/vendor/slim/slim/Slim/Middleware/MethodOverride.php(94): Slim\Middleware\Flash->call()
#8 /web/sites/ownyourgram.com/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#9 /web/sites/ownyourgram.com/vendor/slim/slim/Slim/Slim.php(1174): Slim\Middleware\PrettyExceptions->call()
#10 /web/sites/ownyourgram.com/public/index.php(25): Slim\Slim->run()
#11 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.