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

Fix ErrorHandler instantiation from BC change in Slim#2737 #1

Merged
merged 1 commit into from
Jul 14, 2019
Merged

Fix ErrorHandler instantiation from BC change in Slim#2737 #1

merged 1 commit into from
Jul 14, 2019

Conversation

sentrychris
Copy link

Hi, thank you for all your hard work on Slim! I encountered a fatal error while using the skeleton for version 4.0, this change will fix it. Please find a description of the error below:

Fatal error: Uncaught TypeError: Argument 1 passed to Slim\Handlers\ErrorHandler::__construct() must implement interface Slim\Interfaces\CallableResolverInterface, instance of Slim\Psr7\Factory\ResponseFactory given

Please let me know if you would like me to add or change anything.

Hi, thank you for all your hard work on Slim! I encountered a fatal error while using the skeleton for version 4.0, this change will fix it. Please find a description of the error below:

```
Fatal error: Uncaught TypeError: Argument 1 passed to Slim\Handlers\ErrorHandler::__construct() must implement interface Slim\Interfaces\CallableResolverInterface, instance of Slim\Psr7\Factory\ResponseFactory given
```

Please let me know if you would like me to add or change anything.
@l0gicgate
Copy link
Owner

l0gicgate commented Jul 14, 2019

This is because of this pull request slimphp/Slim#2737

@l0gicgate l0gicgate merged commit 6724578 into l0gicgate:4.x Jul 14, 2019
@l0gicgate l0gicgate changed the title Fix uncaught type error Fix ErrorHandler instantiation from BC change in Slim#2737 Jul 14, 2019
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

Successfully merging this pull request may close these issues.

2 participants