Skip to content

Instantly share code, notes, and snippets.

@kylewm
Created January 6, 2016 01:45
Show Gist options
  • Save kylewm/e0570a9374dd78b45981 to your computer and use it in GitHub Desktop.
Save kylewm/e0570a9374dd78b45981 to your computer and use it in GitHub Desktop.
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/quill.p3k.io/lib/helpers.php
Line: 212
Trace
#0 [internal function]: Slim\Slim::handleErrors(2, 'array_key_exist...', '/web/sites/quil...', 212, Array)
#1 /web/sites/quill.p3k.io/lib/helpers.php(212): array_key_exists('host', false)
#2 /web/sites/quill.p3k.io/controllers/auth.php(218): get_syndication_targets(Object(ORM))
#3 [internal function]: {closure}()
#4 /web/sites/quill.p3k.io/vendor/slim/slim/Slim/Router.php(172): call_user_func_array(Object(Closure), Array)
#5 /web/sites/quill.p3k.io/vendor/slim/slim/Slim/Slim.php(1222): Slim\Router->dispatch(Object(Slim\Route))
#6 /web/sites/quill.p3k.io/vendor/slim/slim/Slim/Middleware/Flash.php(86): Slim\Slim->call()
#7 /web/sites/quill.p3k.io/vendor/slim/slim/Slim/Middleware/MethodOverride.php(94): Slim\Middleware\Flash->call()
#8 /web/sites/quill.p3k.io/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#9 /web/sites/quill.p3k.io/vendor/slim/slim/Slim/Slim.php(1174): Slim\Middleware\PrettyExceptions->call()
#10 /web/sites/quill.p3k.io/public/index.php(23): Slim\Slim->run()
#11 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment