isAttributeRequired()

Hello,

I inserted this code:




<?php echo CHtml::activeLabelEx($event,'remind'); ?>

    <?php echo CHtml::activeTextField($event,'remind',array("id"=>"remind")); ?>

    &nbsp;(calendar with time , position 400,200 and a range 2008-2010)

    <?php $this->widget('application.extensions.calendar.SCalendar',

        array(

        'inputField'=>'remind',

       'ifFormat'=>'%Y-%m-%d %H:%M',

        'showsTime'=>true,

        'position'=>"[400,200]",

        'range'=>"[2008,2010]"

    ));

    ?>

in the calendar extension: http://www.yiiframework.com/extension/calendar/#doc

and I’m gettin this error:

Fatal error: Call to a member function isAttributeRequired() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/yii/framework/web/helpers/CHtml.php on line 1154

so I’m not able to see my calendar.

Any idea?

BR,

Dudu

Hi,

I’ve got the same error message running the blog demo, when I try to click on the title of a specific blog entry.

got the same problem too but only when i try to access the login page. T_T