{"record":{"id":"f4f9274099838d09","repo":"octobercms/october","slug":"cannot-create-inspector-container-wrapper-without","errorCode":null,"errorMessage":"Cannot create Inspector container wrapper without a container element.","messagePattern":"Cannot create Inspector container wrapper without a container element\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/assets/foundation/controls/inspector/inspector.wrapper.container.js","lineNumber":14,"sourceCode":"/*\n * Inspector container wrapper.\n */\n+function ($) { \"use strict\";\n\n    // CLASS DEFINITION\n    // ============================\n\n    var Base = $.oc.inspector.wrappers.base,\n        BaseProto = Base.prototype\n\n    var InspectorContainer = function($element, surface, options) {\n        if (!options.container) {\n            throw new Error('Cannot create Inspector container wrapper without a container element.')\n        }\n\n        this.surfaceContainer = null\n\n        Base.call(this, $element, surface, options)\n    }\n\n    InspectorContainer.prototype = Object.create(BaseProto)\n    InspectorContainer.prototype.constructor = Base\n\n    InspectorContainer.prototype.init = function() {\n        this.registerHandlers()\n\n        BaseProto.init.call(this)\n    }\n\n    InspectorContainer.prototype.dispose = function() {\n        this.unregisterHandlers()","sourceCodeStart":1,"sourceCodeEnd":32,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/assets/foundation/controls/inspector/inspector.wrapper.container.js#L1-L32","documentation":"Error \"Cannot create Inspector container wrapper without a container element.\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/assets/foundation/controls/inspector/inspector.wrapper.container.js:14 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}