Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error creating class #46

Open
scriptburn opened this issue Jun 23, 2017 · 0 comments
Open

Error creating class #46

scriptburn opened this issue Jun 23, 2017 · 0 comments

Comments

@scriptburn
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant