octobercms/october · error · Error
The $.oc.table.validator namespace is not defined. Make sure
Error message
The $.oc.table.validator namespace is not defined. Make sure that the table.validator.base.js script is loaded.
What it means
Error "The $.oc.table.validator namespace is not defined. Make sure that the table.validator.base.js script is loaded." thrown in octobercms/october.
Source
Thrown at modules/backend/widgets/table/assets/js/table.validator.basenumber.js:13
/*
* Base class for number validators.
*/
+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.validator === undefined)
throw new Error("The $.oc.table.validator namespace is not defined. Make sure that the table.validator.base.js script is loaded.");
// CLASS DEFINITION
// ============================
var Base = $.oc.table.validator.base,
BaseProto = Base.prototype
var BaseNumber = function(options) {
Base.call(this, options)
};
BaseNumber.prototype = Object.create(BaseProto)
BaseNumber.prototype.constructor = BaseNumber
BaseNumber.prototype.doCommonChecks = function(value) {
if (this.options.min !== undefined || this.options.max !== undefined) {
if (this.options.min !== undefined) {
if (this.options.min.value === undefined)View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/backend/widgets/table/assets/js/table.validator.basenumber.js:13 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/60fae80cd1d4a2d4.
Report an issue: GitHub.