octobercms/october · error · Error
Cannot find editor for property
Error message
Cannot find editor for property ${property} What it means
getValidValues iterates collected property values and requires a matching editor for each via findPropertyEditor; a null result means the values map contains a property with no editor in the current surface — internal state is inconsistent (property removed/renamed while values remain).
Solutions
- Ensure property names in the configuration match those rendered by the surface (no renames after values are collected)
- Refresh/rebuild the surface so its editors and value map stay in sync
- Guard external/removed properties so they don't linger in the values object
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at modules/backend/assets/foundation/controls/inspector/inspector.surface.js:890 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/e9b90e14ee700b47.
Report an issue: GitHub.
Appendix: source
Thrown at modules/backend/assets/foundation/controls/inspector/inspector.surface.js:890
value = externalParameterEditor.getValue()
value = '{{ ' + value + ' }}'
}
result[property.property] = value
}
return result
}
Surface.prototype.getValidValues = function() {
var allValues = this.getValues(),
result = {}
for (var property in allValues) {
var editor = this.findPropertyEditor(property)
if (!editor) {
throw new Error('Cannot find editor for property ' + property)
}
var externalEditor = this.findExternalParameterEditor(property)
if (externalEditor && externalEditor.isEditorVisible() && !externalEditor.validate(true)) {
result[property] = $.oc.inspector.invalidProperty
continue
}
if (!editor.validate(true)) {
result[property] = $.oc.inspector.invalidProperty
continue
}
result[property] = allValues[property]
}
return result
}View on GitHub (pinned to b608633a7e)