Peekmo / atom-autocomplete-php

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

Uncaught TypeError: Cannot read property 'length' of undefined #329

Open myleshyson opened 7 years ago

myleshyson commented 7 years ago

Getting this whenever I go to the ModelFactory.php file in Laravel.

TypeError: Cannot read property 'length' of undefined at FunctionProvider.module.exports.FunctionProvider.getTooltipForWord (/Users/myleshyson/.atom/packages/atom-autocomplete-php/lib/tooltip/function-provider.coffee:48:33) at FunctionProvider.module.exports.AbstractProvider.showPopoverFor (/Users/myleshyson/.atom/packages/atom-autocomplete-php/lib/tooltip/abstract-provider.coffee:109:24) at HTMLSpanElement. (/Users/myleshyson/.atom/packages/atom-autocomplete-php/lib/tooltip/abstract-provider.coffee:78:22) at HTMLDivElement.dispatch (/Users/myleshyson/.atom/packages/atom-autocomplete-php/node_modules/jquery/dist/jquery.js:4435:9) at HTMLDivElement.elemData.handle (/Users/myleshyson/.atom/packages/atom-autocomplete-php/node_modules/jquery/dist/jquery.js:4121:28)

Maurifc commented 7 years ago

It's happening here too.

GaspariLab commented 7 years ago

Confirmed, happening here too on Atom 1.17.2 and package version 0.22.2.

eddyb2017 commented 7 years ago

Confirmed! Happened to me too, Atom 1.15.0 on Linux, package version 0.23.1

jeffersonPinoDeveloper commented 7 years ago

confirmed! Also happen on Atom 1.17.2 on Mac.

Peekmo commented 7 years ago

Hello,

I tried on a new laravel project, didn't get your error. I pushed something, could you please test ?