{"record":{"id":"895f1bb968766eba","repo":"octobercms/october","slug":"column-value-column-is-not-a-datetime-object-a","errorCode":null,"errorMessage":"Column value ':column' is not a DateTime object, are you missing a $dates reference in the Model?","messagePattern":"Column value ':column' is not a DateTime object, are you missing a \\$dates reference in the Model\\?","errorType":"exception","errorClass":"ApplicationException","httpStatus":null,"severity":"error","filePath":"modules/backend/widgets/lists/HasValueProcessor.php","lineNumber":494,"sourceCode":"    /**\n     * evalColorPickerTypeValue as background color, to be seen at list\n     */\n    protected function evalColorPickerTypeValue($record, $column, $value)\n    {\n        return $this->makePartial('column_colorpicker', [\n            'value' => $value\n        ]);\n    }\n\n    /**\n     * validateDateTimeValue column type\n     */\n    protected function validateDateTimeValue($value, $column)\n    {\n        $value = DateTimeHelper::makeCarbon($value, false);\n\n        if (!$value instanceof Carbon) {\n            throw new ApplicationException(Lang::get(\n                'backend::lang.list.invalid_column_datetime',\n                ['column' => $column->columnName]\n            ));\n        }\n\n        return $value;\n    }\n\n    /**\n     * getFileTypeIcon returns the appropriate Phosphor icon for a file extension\n     */\n    protected function getFileTypeIcon(string $extension): string\n    {\n        $extension = strtolower($extension);\n\n        $iconMap = [\n            // Archives\n            'zip' => 'file-zip',","sourceCodeStart":476,"sourceCodeEnd":512,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/widgets/lists/HasValueProcessor.php#L476-L512","documentation":"Error \"Column value ':column' is not a DateTime object, are you missing a $dates reference in the Model?\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/widgets/lists/HasValueProcessor.php:494 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}