octobercms/october · error · Error

The $.oc.table namespace is not defined. Make sure that the

Error message

The $.oc.table namespace is not defined. Make sure that the table.js script is loaded.

What it means

Error "The $.oc.table namespace is not defined. Make sure that the table.js script is loaded." thrown in octobercms/october.

Source

Thrown at modules/backend/widgets/table/assets/js/table.processor.autocomplete.js:11

/*
 * Autocomplete cell processor for the table control.
 */

+function ($) { "use strict";

    // NAMESPACE CHECK
    // ============================

    if ($.oc.table === undefined)
        throw new Error("The $.oc.table namespace is not defined. Make sure that the table.js script is loaded.");

    if ($.oc.table.processor === undefined)
        throw new Error("The $.oc.table.processor namespace is not defined. Make sure that the table.processor.base.js script is loaded.");

    // CLASS DEFINITION
    // ============================

    var Base = $.oc.table.processor.string,
        BaseProto = Base.prototype

    var AutocompleteProcessor = function(tableObj, columnName, columnConfiguration) {
        //
        // State properties
        //

        this.cachedOptionPromises = {}

        //

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/backend/widgets/table/assets/js/table.processor.autocomplete.js:11 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/cf7001e8cb76e22f. Report an issue: GitHub.