Updating 2.5.3 to 2.6.2 breaks url() view helper, "No RouteStackInterface instance provided" #51
Description
About an hour or so ago I did a composer update
which included an automatic update for this module from 2.5.3 to 2.6.2. After this update was installed, the url()
view helper fatally stopped working as null === $this->router
, which caused it to throw Exception\RuntimeException('No RouteStackInterface instance provided')
from Zend\View\Helper\Url
at line 54.
Unfortunately, that's all I've got at the moment as I haven't had a chance to dig deeper into what's actually causing the problem, but I'm hoping someone will have an idea from this. That said, I am specifically requiring "zendframework/zendframework": "2.5.*"
in composer.json
, so it could be a version incompatibility? I've added a require line to force "zendframework/zend-view": "2.5.*"
which has resolved the issue for me at least for the time being.