pceuropa / yii2-menu

Menu menager, dynamic Yii2 widget. Active menu items
https://pceuropa.net/yii2-extensions/yii2-menu
MIT License
27 stars 18 forks source link

Calling unknown method: yii\web\View::getDropDownOptions() #9

Open unknownfix opened 7 years ago

unknownfix commented 7 years ago

in _form you have \pceuropa\menu\icons\Glyphicons::forge()->getDropDownOptions() in AbstractMenuIcons you have public function forge() Change to public static forge()

unknownfix commented 7 years ago

Or hide \kartik\select2\Select2

pceuropa commented 7 years ago

Thank unknownfix for Your time :+1: . I'll thinking about that.

neoacevedo commented 7 years ago

this error is related to error exception 'ReflectionException' with message 'Method yii\web\View::getDropDownOptions() does not exist?

pceuropa commented 7 years ago

You can paste log error?

neoacevedo commented 7 years ago

I was checking the error and I saw the second one is the same as published in the issue so I did the change on the mentioned file and is working so (for me) is totally linked.

On 06/08/17 04:04, Rafal Marguzewicz wrote:

You can paste log error?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pceuropa/yii2-menu/issues/9#issuecomment-320494798, or mute the thread https://github.com/notifications/unsubscribe-auth/AAawZIibxqQ02jiPak8SOSZNmpyRerjzks5sVYGigaJpZM4Mgl2U.