kartik-v / yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)
Other
105 stars 54 forks source link

Calling unknown method: kartik\datetime\DateTimePicker::isBs() #113

Closed poonga closed 2 years ago

poonga commented 2 years ago

Hi,

I'm Installing the Kartik date picker and DateTime picker with the composer command.

composer require kartik-v/yii2-widget-datetimepicker "*"
composer require kartik-v/yii2-widget-datepicker "*"

I faced the Calling unknown method: kartik\datetime\DateTimePicker::isBs() error.

image

My composer version is 1.

Henning-IG commented 2 years ago

I'm having trouble with this, too. I think there is an issue with dependecies. isBs() is new in yii2-krajee-base 3.0.0. But latest yii2-widget-datetimepicker just requires "kartik-v/yii2-krajee-base": ">=2.0.0" in composer.json Previous version works for me: "kartik-v/yii2-widget-datetimepicker": "1.4.9",

kartik-v commented 2 years ago

Get updated release v1.5.1.