Closed pasug closed 7 years ago
Well, KnpMenu dropped the setCurrentUri
method in 2.x, as we have better ways to mark an item as current.
The right solution is to stop using this method. Forcing to use the 1.x version was a workaround for cases where third-party packages were relying on this method. but here, the error seems to happen in your own code. So you should be able to migrate to the 2.x way.
While updating symphony from 2.3 to 2.7, and after composer update, I am getting error as below
Composer:
Few of the earlier suggestions refers to use knp-menu-bundle as 1.*.
Is it in the same state yet? I am not able to use knp-menu-bundle as 1.* since other packages are looking for higher version. Is there any alternative or fix for the same ?
This is in reference to previous issue. https://github.com/sonata-project/sandbox/issues/484