{"record":{"id":"0a134bc50b286349","repo":"Semantic-Org/Semantic-UI","slug":"the-method-you-called-is-not-defined-0a134b","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":"info","filePath":"src/definitions/modules/popup.js","lineNumber":1456,"sourceCode":"  duration       : 200,\n  transition     : 'scale',\n\n  // distance away from activating element in px\n  distanceAway   : 0,\n\n  // number of pixels an element is allowed to be \"offstage\" for a position to be chosen (allows for rounding)\n  jitter         : 2,\n\n  // offset on aligning axis from calculated position\n  offset         : 0,\n\n  // maximum times to look for a position before failing (9 positions total)\n  maxSearchDepth : 15,\n\n  error: {\n    invalidPosition : 'The position you specified is not a valid position',\n    cannotPlace     : 'Popup does not fit within the boundaries of the viewport',\n    method          : 'The method you called is not defined.',\n    noTransition    : 'This module requires ui transitions <https://github.com/Semantic-Org/UI-Transition>',\n    notFound        : 'The target or popup you specified does not exist on the page'\n  },\n\n  metadata: {\n    activator : 'activator',\n    content   : 'content',\n    html      : 'html',\n    offset    : 'offset',\n    position  : 'position',\n    title     : 'title',\n    variation : 'variation'\n  },\n\n  className   : {\n    active       : 'active',\n    basic        : 'basic',\n    animating    : 'animating',","sourceCodeStart":1438,"sourceCodeEnd":1474,"githubUrl":"https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/popup.js#L1438-L1474","documentation":"Declared in popup.js settings.error.method but the module's invoke() (popup.js:1251-1285) does NOT log it — the else branch (lines 1282-1284) simply returns false. So this message is never emitted by popup.js. An unknown method call on a popup fails silently rather than printing this string.","triggerScenarios":"No active path in popup.js emits it. Calling $('.btn').popup('nope') resolves nothing and returns undefined without a console error in this version.","commonSituations":"Inspecting settings and misattributing a console line to popup; using a forked build whose invoke was patched; confusing popup with modules (sidebar/progress/dimmer) whose invoke does log error.method.","solutions":["No action needed for the message; to debug the silent miss, confirm the method name against popup behaviors ('show', 'hide', 'toggle', 'get popup', 'change content', 'set content', 'reposition', etc.).","Check the return value/chain after the call to detect the no-op.","If you want unknown calls flagged, patch invoke's else branch in a fork to log error.method."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"// Popup invoke is silent on unknown methods; assert yourself\nvar known = ['show','hide','toggle','get popup','set content','change content','reposition','hide all','show all','destroy'];\nif (known.indexOf(methodName) === -1) console.warn('Unknown popup method:', methodName);","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Remember popup.invoke does not log unknown methods in this version.","Cross-check method names against popup behaviors.","Detect no-ops via return values rather than console."],"tags":["popup","dead-code","method-dispatch","semantic-ui"],"backgroundTag":null,"analyzedSha":"597843ab84d565cccfd8fd7719416350ae73e734","analyzedAt":"2026-08-13T01:44:23.827Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}