{"record":{"id":"87b5d9e782e75e22","repo":"Semantic-Org/Semantic-UI","slug":"the-method-you-called-is-not-defined-87b5d9","errorCode":null,"errorMessage":"The method you called is not defined.","messagePattern":"The method you called is not defined\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"src/definitions/modules/progress.js","lineNumber":890,"sourceCode":"\n  percent        : false,\n  total          : false,\n  value          : false,\n\n  // delay in ms for fail safe animation callback\n  failSafeDelay : 100,\n\n  onLabelUpdate : function(state, text, value, total){\n    return text;\n  },\n  onChange      : function(percent, value, total){},\n  onSuccess     : function(total){},\n  onActive      : function(value, total){},\n  onError       : function(value, total){},\n  onWarning     : function(value, total){},\n\n  error    : {\n    method     : 'The method you called is not defined.',\n    nonNumeric : 'Progress value is non numeric',\n    tooHigh    : 'Value specified is above 100%',\n    tooLow     : 'Value specified is below 0%'\n  },\n\n  regExp: {\n    variable: /\\{\\$*[A-z0-9]+\\}/g\n  },\n\n  metadata: {\n    percent : 'percent',\n    total   : 'total',\n    value   : 'value'\n  },\n\n  selector : {\n    bar      : '> .bar',\n    label    : '> .label',","sourceCodeStart":872,"sourceCodeEnd":908,"githubUrl":"https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/progress.js#L872-L908","documentation":"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.","triggerScenarios":"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.","commonSituations":"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.","solutions":["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'.","Double-check spelling and the dotted-path syntax used by Semantic UI invoke.","Call .progress() with no args to inspect state instead of guessing a method name."],"exampleFix":"// before\n$('.ui.progress').progress('set precent', 50); // typo -> [95]\n\n// after\n$('.ui.progress').progress('set percent', 50);","handlingStrategy":"validation","validationCode":"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'];\nif (known.indexOf(methodName) === -1) console.warn('Unknown progress method:', methodName);","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Use documented progress method names exactly.","Watch for typos in dotted/camelCase names.","Inspect state with a no-arg .progress() call instead of guessing."],"tags":["progress","method-dispatch","typo","semantic-ui","console-error"],"backgroundTag":null,"analyzedSha":"597843ab84d565cccfd8fd7719416350ae73e734","analyzedAt":"2026-08-13T01:44:23.827Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}