Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'class' of undefined #422

Open
SwordFishTromBones opened this issue Feb 28, 2021 · 0 comments
Open

Comments

@SwordFishTromBones
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.54.0 x64
Electron: 6.1.12
OS: macOS 11.2.1
Thrown From: atom-autocomplete-php package 0.25.6

Stack Trace

Uncaught TypeError: Cannot read property 'class' of undefined

At /Users/tonymay/.atom/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:775

TypeError: Cannot read property 'class' of undefined
    at Object.parseElements (/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:775:24)
    at Object.getCalledClass (/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:33:17)
    at Object.getMemberContext (/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:679:28)
    at FunctionProvider.module.exports.FunctionProvider.getTooltipForWord (/packages/atom-autocomplete-php/lib/tooltip/function-provider.coffee:18:25)
    at FunctionProvider.module.exports.AbstractProvider.showPopoverFor (/packages/atom-autocomplete-php/lib/tooltip/abstract-provider.coffee:108:24)
    at /packages/atom-autocomplete-php/lib/tooltip/abstract-provider.coffee:77:22)
    at HTMLDivElement.dispatch (/packages/compare-files/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLDivElement.elemData.handle (/packages/compare-files/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -3:06.2.0 core:save (input.hidden-input)
  2x -2:06.9.0 core:copy (input.hidden-input)
     -1:49.7.0 find-and-replace:show (input.hidden-input)
     -1:49.5.0 core:paste (input.hidden-input)
     -1:49.2.0 core:confirm (input.hidden-input)
  2x -1:39 core:copy (input.hidden-input)
     -1:11.2.0 core:confirm (input.hidden-input)
  4x -0:57.1.0 editor:newline (input.hidden-input)
     -0:56 core:move-up (input.hidden-input)
     -0:55.8.0 core:paste (input.hidden-input)
     -0:25 core:copy (input.hidden-input)
     -0:23.2.0 core:paste (input.hidden-input)
     -0:18.5.0 core:copy (input.hidden-input)
     -0:16.2.0 core:paste (input.hidden-input)
     -0:13.1.0 core:copy (input.hidden-input)
     -0:11.1.0 core:paste (input.hidden-input)

Non-Core Packages

atom-autocomplete-php 0.25.6 
atom-file-icons 0.7.1 
atom-ide-ui 0.13.0 
atom-material-syntax 1.0.8 
atom-python-run 0.9.7 
autocomplete-php 0.3.7 
autocomplete-python 1.16.0 
busy-signal 2.0.1 
compare-files 0.8.1 
intentions 1.1.5 
linter 3.1.1 
linter-flake8 2.4.0 
linter-ui-default 2.2.4 
script 3.26.0 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant