Issue with upgrading yii2

Hello guys,

I tried to upgrade yii2 from version 2.0.15 to 2.0.17 running the following command:

composer require “yiisoft/yii2:~2.0.17” --update-with-dependencies

But then, I ended up with Yii2 version 2.0.26 and I’m having some issues now.
Do you guys have any idea why this command didn’t upgrade to the version I had chosen?

U are telling composer to get a version >= 2.0.17
if u want 2.0.17 - is afaik like that:
composer require “yiisoft/yii2:2.0.17” --update-with-dependencies

1 Like

I see, thank you! :smiley: