Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

support zend-stratigility 3? #433

Closed
samsonasik opened this issue May 20, 2018 · 1 comment
Closed

support zend-stratigility 3? #433

samsonasik opened this issue May 20, 2018 · 1 comment
Labels

Comments

@samsonasik
Copy link
Contributor

When I tried to use middleware in zend-mvc 3, it require to install zend-stratigility as it seems it no longer required, so I add the zend-stratigility to require with command:

composer require zendframework/zend-stratigility

and it installed the zend-stratigility 3. After it installed, I got the following error:

( ! ) Fatal error: Uncaught Error: Call to undefined method Zend\Stratigility\MiddlewarePipe::setResponsePrototype() in /Users/samsonasik/www/zf-mvc3/vendor/zendframework/zend-mvc/src/MiddlewareListener.php on line 134
( ! ) Error: Call to undefined method Zend\Stratigility\MiddlewarePipe::setResponsePrototype() in /Users/samsonasik/www/zf-mvc3/vendor/zendframework/zend-mvc/src/MiddlewareListener.php on line 134

So, I downgraded the version to v2 with command:

composer require zendframework/zend-stratigility:^2.0

And it works.

How about support zend-stratigility v3 as well?

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

No branches or pull requests

2 participants