Answer the question
In order to leave comments, you need to log in
Request url encoding in yii2 menu, how to fix?
In the Nav::widget menu, I prescribe the menu section:
['label' => 'My profile', 'url' => ['/profile/professional&id='.$userlog->id]],
Answer the question
In order to leave comments, you need to log in
The url specifies either a URL as a string or an array, where the first part is the route, and the remaining name-value pairs are the parameters. You have neither. Hence the result.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question