Peekmo / atom-autocomplete-php

Autocomplete for PHP in atom editor
MIT License
136 stars 34 forks source link

Uncaught TypeError: Cannot read property 'params' of undefined #410

Open danielcherrington opened 4 years ago

danielcherrington commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.0 x64 Electron: 3.1.10 OS: Ubuntu 19.10 Thrown From: atom-autocomplete-php package 0.25.6

Stack Trace

Uncaught TypeError: Cannot read property 'params' of undefined

At /home/daniel/.atom/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:631

TypeError: Cannot read property 'params' of undefined
    at Object.getVariableType (/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:631:28)
    at Object.parseElements (/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:731:34)
    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 PropertyProvider.module.exports.PropertyProvider.getTooltipForWord (/packages/atom-autocomplete-php/lib/tooltip/property-provider.coffee:17:25)
    at PropertyProvider.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/webbox-color/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLDivElement.elemData.handle (/packages/webbox-color/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -3:43.7.0 core:delete (input.hidden-input)
     -3:43.2.0 core:move-right (input.hidden-input)
     -3:42.5.0 intentions:highlight (input.hidden-input)
     -3:42.3.0 core:save (input.hidden-input)
     -0:46.1.0 intentions:highlight (input.hidden-input)
     -0:45.5.0 core:copy (input.hidden-input)
     -0:33.8.0 intentions:highlight (input.hidden-input)
     -0:33.6.0 core:paste (input.hidden-input)
     -0:31.9.0 core:move-right (input.hidden-input)
     -0:22.2.0 intentions:highlight (input.hidden-input)
     -0:22 core:paste (input.hidden-input)
     -0:12.8.0 intentions:highlight (input.hidden-input)
     -0:12.1.0 core:copy (input.hidden-input)
     -0:10.9.0 intentions:highlight (input.hidden-input)
     -0:10.8.0 core:paste (input.hidden-input)
     -0:03.9.0 intentions:highlight (input.hidden-input)

Non-Core Packages

api-docs 0.0.6 
atom-autocomplete-php 0.25.6 
atom-beautify 0.33.4 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
atom-terminal 0.8.0 
atom-toolbar 0.1.6 
busy-signal 2.0.1 
color-picker 2.3.0 
dash-syntax 0.4.2 
dash-ui 0.4.4 
docblockr 0.13.7 
docker 0.8.0 
drupal 1.9.2 
file-icons 2.1.36 
framer-syntax 1.1.0 
framer-ui 2.0.0 
git-plus 8.7.1 
gitlab 0.1.3-7 
gitlab-integration 0.4.8 
ide-php 0.7.18 
intentions 1.1.5 
jslint 1.5.1 
linter 2.3.1 
linter-php 1.6.1 
linter-phpcs 1.7.6 
linter-phpmd 2.0.2 
linter-ui-default 1.8.0 
open-terminal-here 2.3.2 
opened-files 0.3.6 
php-analyser 0.2.0 
php-composer-completion 0.3.4 
php-cs-fixer 4.1.1 
php-debug 0.3.5 
php-hover-documentation 0.2.1 
php-hyperclick 1.2.1 
php-refactoring 1.4.0 
php-twig 4.0.0 
pigments 0.40.2 
pristine-ui 1.1.11 
redmine 0.2.2 
redui-jm-syntax 1.4.0 
remote-edit 1.9.0 
snippet-generator 0.3.2 
ssh-config 0.14.0 
tabs-to-spaces 1.0.5 
termination 0.7.5 
webbox-color 0.5.9 
zentabs 0.8.9