octobercms/october · error · Error

The columns property not found in the Inspector table…

Error message

The columns property not found in the Inspector table definition. Property: ${property}

What it means

Configuration error in the Inspector table control's computed columns: control.columns is not an array (missing or wrong type). A table is meaningless without its column definitions, so the computed property throws instead of rendering an empty table.

Solutions

  1. Define columns as an array of column definition objects in the table control configuration
  2. Verify the columns key was not accidentally set to an object or string in the Inspector schema
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at modules/backend/vuecomponents/inspector/assets/js/control-table.js:26 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/335640bc5531f1ab. Report an issue: GitHub.

Appendix: source

Thrown at modules/backend/vuecomponents/inspector/assets/js/control-table.js:26

    props: {
        layoutUpdateData: {
            type: Object
        },
        inspectorPreferences: Object
    },
    data: function () {
        return {
            edited: false,
            lang: {
                addItem: ""
            },
            rowRefs: []
        };
    },
    computed: {
        columns: function computeColumns() {
            if (!Array.isArray(this.control.columns)) {
                throw new Error('The columns property not found in the Inspector table definition. Property: '
                    + this.control.property);
            }

            return this.control.columns;
        },

        tableConfiguration: function computeTableConfiguration() {
            return {
                deleting: this.control.deleting || this.control.deleting === undefined,
                adding: this.control.adding || this.control.adding === undefined
            };
        }
    },
    methods: {
        setRowRef: function setRowRef(el, index) {
            this.rowRefs[index] = el;
        },

View on GitHub (pinned to b608633a7e)