slim-auth icon indicating copy to clipboard operation
slim-auth copied to clipboard

Error creating class

Open scriptburn opened this issue 7 years ago • 0 comments

I am passing this $app = new \Slim\App($settings); $authBootstrap = new Bootstrap($app, $adapter, $acl);

and getting this error

Fatal error: Uncaught TypeError: Argument 1 passed to JeremyKendall\Slim\Auth\Bootstrap::__construct() must be an instance of Slim\Slim, instance of Slim\App given

It seems that Slim3 is not using Slim as main class name but App.

scriptburn avatar Jun 23 '17 20:06 scriptburn