yii 2.0 jquery datepicker not working

Hi,

I used yii 2.0 and use the j query date picker in the form but it shows an error

The following error is shown

[b]

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.[/b]

In view my code is below:

<?php

use yii\helpers\Html;

use yii\bootstrap\ActiveForm;

?>

<?php //$form->field($model, ‘periodfrom’)

        DatePicker::widget([


           'model' =&gt; &#036;model,


           'attribute' =&gt; 'ddDate',


           'language' =&gt; 'en',


           'dateFormat' =&gt; 'yyyy-MM-dd',


       ]);





    ?&gt;

wat wrong in this code.

Please help me to fix this

Thank you

THIS error is not because of datepicker.

kindly check after commenting datepicker.

After commenting the date picker code in the views.

It runs with out an error

but enable the code it show’s an error

<?php

   echo &#036;form-&gt;field(&#036;model,'periodfrom')-&gt;widget(DatePicker::classname(),[ 


    'options' =&gt; ['placeholder' =&gt; 'Select periodfromDate'], 


    'pluginOptions' =&gt; [ 


        'format' =&gt; 'dd/mm/yyyy', 


        'todayHighlight' =&gt; true, 


        'autoclose'=&gt;true, 


         ] 


    ]);   ?&gt;