{"record":{"id":"9a6a3f1eed17b88f","repo":"octobercms/october","slug":"the-inspector-editor-class-type-is-not-define","errorCode":null,"errorMessage":"The Inspector editor class \"${type}\" is not defined in the $.oc.inspector.propertyEditors namespace.","messagePattern":"The Inspector editor class \"(.+?)\" is not defined in the \\$\\.oc\\.inspector\\.propertyEditors namespace\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/assets/foundation/controls/inspector/inspector.surface.js","lineNumber":643,"sourceCode":"    Surface.prototype.findPropertyDefinition = function(property) {\n        for (var i=0, len = this.parsedProperties.properties.length; i < len; i++) {\n            var definition = this.parsedProperties.properties[i]\n\n            if (definition.property == property) {\n                return definition\n            }\n        }\n\n        return null\n    }\n\n    Surface.prototype.validateEditorType = function(type) {\n        if (type === undefined) {\n            type = 'string'\n        }\n\n        if ($.oc.inspector.propertyEditors[type] === undefined) {\n            throw new Error('The Inspector editor class \"' + type +\n                '\" is not defined in the $.oc.inspector.propertyEditors namespace.')\n        }\n    }\n\n    Surface.prototype.popupDisplayed = function() {\n        if (this.popupCounter === 0 && this.options.onPopupDisplayed !== null) {\n            this.options.onPopupDisplayed()\n        }\n\n        this.popupCounter++\n    }\n\n    Surface.prototype.popupHidden = function() {\n        this.popupCounter--\n\n        if (this.popupCounter < 0) {\n            this.popupCounter = 0\n        }","sourceCodeStart":625,"sourceCodeEnd":661,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/assets/foundation/controls/inspector/inspector.surface.js#L625-L661","documentation":"Error \"The Inspector editor class \"${type}\" is not defined in the $.oc.inspector.propertyEditors namespace.\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/assets/foundation/controls/inspector/inspector.surface.js:643 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"}