octobercms/october · error · ApplicationException

Column value ':column' is not a DateTime object, are you mis

Error message

Column value ':column' is not a DateTime object, are you missing a $dates reference in the Model?

What it means

Error "Column value ':column' is not a DateTime object, are you missing a $dates reference in the Model?" thrown in octobercms/october.

Source

Thrown at modules/backend/widgets/lists/HasValueProcessor.php:494

    /**
     * evalColorPickerTypeValue as background color, to be seen at list
     */
    protected function evalColorPickerTypeValue($record, $column, $value)
    {
        return $this->makePartial('column_colorpicker', [
            'value' => $value
        ]);
    }

    /**
     * validateDateTimeValue column type
     */
    protected function validateDateTimeValue($value, $column)
    {
        $value = DateTimeHelper::makeCarbon($value, false);

        if (!$value instanceof Carbon) {
            throw new ApplicationException(Lang::get(
                'backend::lang.list.invalid_column_datetime',
                ['column' => $column->columnName]
            ));
        }

        return $value;
    }

    /**
     * getFileTypeIcon returns the appropriate Phosphor icon for a file extension
     */
    protected function getFileTypeIcon(string $extension): string
    {
        $extension = strtolower($extension);

        $iconMap = [
            // Archives
            'zip' => 'file-zip',

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/backend/widgets/lists/HasValueProcessor.php:494 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21). Data as JSON: /api/errors/895f1bb968766eba. Report an issue: GitHub.