octobercms/october · error · Error

Error parsing Inspector configuration. ${err}

Error message

Error parsing Inspector configuration. ${err}

What it means

Error "Error parsing Inspector configuration. ${err}" thrown in octobercms/october.

Source

Thrown at modules/backend/assets/foundation/controls/inspector/inspector.wrapper.base.js:345

        .fail(function inspectorConfigurationRequestErrorClosure(data) {
            self.$element.trigger('error.oc.inspector');
        })
        .always(function() {
            $.oc.stripeLoadIndicator.hide();
        });
    }

    BaseWrapper.prototype.parseConfiguration = function(configuration) {
        if (!Array.isArray(configuration) && !$.isPlainObject(configuration)) {
            if ($.trim(configuration) === 0) {
                return {};
            }

            try {
               return JSON.parse(configuration);
            }
            catch(err) {
                throw new Error('Error parsing Inspector configuration. ' + err);
            }
        }
        else {
            return configuration;
        }
    }

    BaseWrapper.prototype.configurationLoaded = function(configuration) {
        var values = this.loadValues(configuration.properties);

        this.title = configuration.title;
        this.description = configuration.description;
        this.configuration = configuration;

        this.createSurfaceAndUi(configuration.properties, values);
    }

    BaseWrapper.prototype.onConfigurationRequestDone = function(data, result) {

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/backend/assets/foundation/controls/inspector/inspector.wrapper.base.js:345 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/c832f493eb37ed39. Report an issue: GitHub.