-
Notifications
You must be signed in to change notification settings - Fork 25
Fatal error: 'continue' not in the 'loop' or 'switch' context in /zend-view/src/Helper/Navigation/PluginManager.php on line 62 #19
Comments
It is bug in zendframework/zend-view not zendframework/zend-navigation ! |
@weierophinney said that it should be reported here zendframework/zend-view#45 (comment) |
@webimpress |
@webimpress It's not a bug in zend-view. It's a problem of zend-navigation extending zend-view's HelperPluginManager, which changed the signature of the constructor to make it forwards-compatible with zend-servicemanager v3. We'll be updating zend-navigation shortly, which will eliminate the issue. Also: @froschdesign has found a definite flaw in that line, which demonstrates it's a problem in this repository! |
But @froschdesign links to a file contained in the https://github.com/zendframework/zend-view/blob/master/src/Helper/Navigation/PluginManager.php#L62 |
@tmcnicholls — d'oh! You're right! I'll get an update out for that ASAP; thanks! (I was seeing "Navigation" in the namespace, and missed the |
@weierophinney No problem, thanks! |
@tmcnicholls , @weierophinney thanks |
Close #47 Fixes #46 Fixes #45 Fixes zendframework/zend-navigation#19
Fixed in zendframework/zend-view#47. |
It's originally I commented at zendframework/zend-view#45. I use latest zf2 :
The stacktrace is:
The text was updated successfully, but these errors were encountered: