DatePicker插件由2Amigo在yii 2中制作

I downloaded DatePicker Plugin using composer in Yii2 and I can see the file in my vendor directory. The plugin is 2amigos/yii2-date-picker-widget you can see it on GitHub. My problem is when I make a model name COMPANIES and I made a CRUD, I want to use DatePicker in my CRUD and here is my _form.php file :

<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use dosamigos\datepicker\DatePicker;
?>
<div class="companies-form">
    <?php $form = ActiveForm::begin(); ?>
    <?= $form->field($model, 'company_name')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model, 'company_email')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model, 'company_address')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model, 'logo')->textInput(['maxlength' => true]) ?>
    <?=
        $form->field($model, 'company_start_date')->widget(
        DatePicker::className(), [
                'inline' => false,
//                'template' => '<div class="well well-sm" style="background-color: #fff; width:250px">{input}</div>',
                'clientOptions' => [
                    'autoclose' => true,
                    'format' => 'y-m-d',    
        ],
    ]);
    ?>
    <?= $form->field($model, 'company_created_date')->textInput() ?>
    <?= $form->field($model, 'company_status')->dropDownList([ 'active' => 'Active', 'inactive' => 'Inactive', ], ['prompt' => '']) ?>
    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>
    <?php ActiveForm::end(); ?>
</div>

but when I click on Create in my grid it gives me the following error:

Error (#1) An internal server error occurred. The above error occurred while the Web server was processing your request.

Please contact us if you think this is a server error. Thank you.

What should I do to fix this?