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

support zend-stratigility 3? #283

Open
samsonasik opened this issue May 21, 2018 · 3 comments
Open

support zend-stratigility 3? #283

samsonasik opened this issue May 21, 2018 · 3 comments

Comments

@samsonasik
Copy link
Contributor

originally i submitted issue at ZendSkeletonApplication repo zendframework/ZendSkeletonApplication#433 , which seems should be here

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?

@froschdesign
Copy link
Member

Related to #259

@Xerkus
Copy link
Member

Xerkus commented Feb 17, 2019

Should be resolved as part of #308

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-mvc; a new issue has been opened at laminas/laminas-mvc#13.

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

No branches or pull requests

4 participants