Semantic-Org/Semantic-UI · warning

The method you called is not defined.

Error message

The method you called is not defined.

What it means

Progress's invoke() (progress.js:769-804) resolves dotted/camelCase method names against the module instance; if the query matches no property it logs error.method (progress.js:801) and returns false. It fires whenever you call .progress('someUnknownThing') or a dotted path that doesn't exist.

Source

Thrown at src/definitions/modules/progress.js:890

  percent        : false,
  total          : false,
  value          : false,

  // delay in ms for fail safe animation callback
  failSafeDelay : 100,

  onLabelUpdate : function(state, text, value, total){
    return text;
  },
  onChange      : function(percent, value, total){},
  onSuccess     : function(total){},
  onActive      : function(value, total){},
  onError       : function(value, total){},
  onWarning     : function(value, total){},

  error    : {
    method     : 'The method you called is not defined.',
    nonNumeric : 'Progress value is non numeric',
    tooHigh    : 'Value specified is above 100%',
    tooLow     : 'Value specified is below 0%'
  },

  regExp: {
    variable: /\{\$*[A-z0-9]+\}/g
  },

  metadata: {
    percent : 'percent',
    total   : 'total',
    value   : 'value'
  },

  selector : {
    bar      : '> .bar',
    label    : '> .label',

View on GitHub (pinned to 597843ab84)

Solutions

  1. Use a documented progress behavior: 'set percent', 'set progress', 'set value', 'increment', 'decrement', 'update progress', 'is complete', 'is success', 'is warning', 'is error', 'set total', 'set label', 'set bar label'.
  2. Double-check spelling and the dotted-path syntax used by Semantic UI invoke.
  3. Call .progress() with no args to inspect state instead of guessing a method name.

Example fix

// before
$('.ui.progress').progress('set precent', 50); // typo -> [95]

// after
$('.ui.progress').progress('set percent', 50);
Defensive patterns

Strategy: validation

Validate before calling

var known = ['set percent','set progress','set total','set value','set label','set bar label','increment','decrement','update progress','is complete','is success','is warning','is error','reset','destroy'];
if (known.indexOf(methodName) === -1) console.warn('Unknown progress method:', methodName);

Prevention

When it happens

Trigger: Calling $('.progress').progress('finishh') (typo), or a non-existent behavior like .progress('set colur'), or a dotted path .progress('set.nonexistent'). The else branch at progress.js:800-802 logs it.

Common situations: Typos in method names; using a method from a different version or a different module; copy-paste errors from docs; calling a private method by the wrong name.

Related errors


AI-assisted analysis of Semantic-Org/Semantic-UI@597843ab84 (2026-08-13). Data as JSON: /api/errors/87b5d9e782e75e22. Report an issue: GitHub.