Undefined SET property or variable in 'QDateTime' class: Year
Fri, 06/05/2009 - 15:42
I get this error;
Undefined SET property or variable in 'QDateTime' class: Year
Exception Type: QUndefinedPropertyException
Source File: C:\Program Files\Zend\Apache2\htdocs\includes\qcodo\_core\qform\QDateTimePicker.class.php Line: 65
Line 60: $this->intSelectedYear = $intYear;
Line 61:
Line 62: if (strlen($intYear) && strlen($intMonth) && strlen($intDay))
Line 63: $dttNewDateTime->setDate($intYear, $intMonth, $intDay);
Line 64: else
Line 65: $dttNewDateTime->Year = null;
Line 66: break;
Line 67: }
Line 68:
Line 69: // Update Time Component
Line 70: switch ($this->strDateTimePickerType) {QDateTime has a property 'Year'. I do not understand what is going on.

Post the code that causes the error, let's debug!