zend-mvc icon indicating copy to clipboard operation
zend-mvc copied to clipboard

support zend-stratigility 3?

Open samsonasik opened this issue 7 years ago • 3 comments

originally i submitted issue at ZendSkeletonApplication repo https://github.com/zendframework/ZendSkeletonApplication/issues/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?

samsonasik avatar May 21 '18 18:05 samsonasik

Related to #259

froschdesign avatar Sep 04 '18 09:09 froschdesign

Should be resolved as part of #308

Xerkus avatar Feb 17 '19 03:02 Xerkus

This repository has been closed and moved to laminas/laminas-mvc; a new issue has been opened at https://github.com/laminas/laminas-mvc/issues/13.

weierophinney avatar Dec 31 '19 21:12 weierophinney