Peekmo / atom-autocomplete-php

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

Uncaught TypeError: element.indexOf is not a function #418

Closed professional-sourav closed 1 year ago

professional-sourav commented 3 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.54.0 x64 Electron: 6.1.12 OS: Mac OS X 10.15.7 Thrown From: atom-autocomplete-php package 0.25.6

Stack Trace

Uncaught TypeError: element.indexOf is not a function

At /Users/souravchakraborty/.atom/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:532

TypeError: element.indexOf is not a function
    at Object.parseStackClass (/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:532:24)
    at Object.getStackClasses (/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:459:17)
    at Object.getCalledClass (/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:28:21)
    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/Atom-SFTP-sync/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLDivElement.elemData.handle (/packages/Atom-SFTP-sync/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -9:35.2.0 core:move-left (input.hidden-input)
     -9:35 core:move-down (input.hidden-input)
     -9:11.4.0 core:paste (input.hidden-input)
     -8:52.1.0 editor:toggle-line-comments (input.hidden-input)
  2x -8:49.9.0 core:save (input.hidden-input)
  4x -7:39.5.0 core:backspace (input.hidden-input)
     -6:50.1.0 core:copy (div.package-readme.native-key-bindings)
  4x -2:47.7.0 core:backspace (input.hidden-input)
     -2:46.5.0 core:save (input.hidden-input)
  2x -2:35.2.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
  2x -0:51.3.0 core:save (input.hidden-input)
     -0:34.1.0 editor:newline (input.hidden-input)
     -0:28.5.0 autocomplete-plus:confirm (input.hidden-input)

Non-Core Packages

atom-autocomplete-php 0.25.6 
atom-wordpress 0.3.0 
autocomplete-sql 0.5.0 
autocomplete-wordpress-hooks 0.2.3 
remote-sync-pro 5.1.1 
wordpress-api 1.2.2 
wordpress-autocomplete 1.5.0 
wordpress-suite 1.3.0 
wp-dev 0.3.5