octobercms/october · error · Error
Error parsing the ${name} attribute value. ${e}
Error message
Error parsing the ${name} attribute value. ${e} What it means
Error "Error parsing the ${name} attribute value. ${e}" thrown in octobercms/october.
Source
Thrown at modules/backend/assets/foundation/controls/popup/popup.js:446
// =================
$.fn.popup.noConflict = function() {
$.fn.popup = old;
return this;
}
// POPUP DATA-API
// ===============
function paramToObj(name, value) {
if (value === undefined) value = '';
if (typeof value == 'object') return value;
try {
return oc.parseJSON("{" + value + "}");
}
catch (e) {
throw new Error('Error parsing the '+name+' attribute value. '+e);
}
}
$(document).on('click.oc.popup', '[data-control~="popup"]', function(event) {
event.preventDefault();
$(this).popup();
});
// Popup loading indicator will only show if the handlers are an exact match.
$(document)
// Prevent subsequent requests while loading (mis-doubleclick)
.on('ajax:setup', '[data-popup-load-indicator]', function(event) {
if ($(this).data('request') !== event.detail.context.handler) return;
if (!$(this).closest('.control-popup').hasClass('show')) event.preventDefault();
})
// Hide popup during AJAX
.on('ajax:promise', '[data-popup-load-indicator]', function(event) {View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/backend/assets/foundation/controls/popup/popup.js:446 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/ac2e6eac2a29a44e.
Report an issue: GitHub.