{"action":"opened","issue":{"url":"https://api.github.com/repos/Peekmo/atom-autocomplete-php/issues/222","labels_url":"https://api.github.com/repos/Peekmo/atom-autocomplete-php/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/Peekmo/atom-autocomplete-php/issues/222/comments","events_url":"https://api.github.com/repos/Peekmo/atom-autocomplete-php/issues/222/events","html_url":"https://github.com/Peekmo/atom-autocomplete-php/issues/222","id":126507945,"number":222,"title":"Uncaught TypeError: marker.destroy is not a function","user":{"login":"roelofr","id":1771026,"avatar_url":"https://avatars.githubusercontent.com/u/1771026?v=3","gravatar_id":"","url":"https://api.github.com/users/roelofr","html_url":"https://github.com/roelofr","followers_url":"https://api.github.com/users/roelofr/followers","following_url":"https://api.github.com/users/roelofr/following{/other_user}","gists_url":"https://api.github.com/users/roelofr/gists{/gist_id}","starred_url":"https://api.github.com/users/roelofr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roelofr/subscriptions","organizations_url":"https://api.github.com/users/roelofr/orgs","repos_url":"https://api.github.com/users/roelofr/repos","events_url":"https://api.github.com/users/roelofr/events{/privacy}","received_events_url":"https://api.github.com/users/roelofr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-13T20:39:01Z","updated_at":"2016-01-13T20:39:01Z","closed_at":null,"body":"Steps to reproduce\r\n\r\n1. Open a file\r\n2. Press <kbd>Ctrl</kbd>+<kbd>S</kbd>\r\n3. Behold\r\n\r\nThis error seems to occur whenever trying to save a file using the <kbd>Ctrl</kbd>+<kbd>S</kbd> hotkey on any file. The previous issue seems to only mention Ruby and Gemfiles, but I've been able to trigger the error on `Gruntfile.js`, a simple JSON file and PHP files (basically any file).\r\n\r\nGiven that the previous error had gone cold, this might very well be a client-side error (something I misconfigured or that was installed incorrectly), might even say *PEBKAC*...\r\n\r\n**Atom Version**: 1.3.3\r\n**System**: Microsoft Windows 10 Pro\r\n**Thrown From**: [atom-autocomplete-php](https://github.com/Peekmo/atom-autocomplete-php) package, v0.18.4\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: marker.destroy is not a function\r\n\r\n```\r\nAt C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\src\\pane.js:829\r\n\r\nTypeError: marker.destroy is not a function\r\n    at FunctionProvider.module.exports.AbstractProvider.removeAnnotations (file:///C:/Users/roelof/.atom/packages/atom-autocomplete-php/lib/annotation/abstract-provider.coffee:224:20)\r\n    at FunctionProvider.module.exports.AbstractProvider.rescan (file:///C:/Users/roelof/.atom/packages/atom-autocomplete-php/lib/annotation/abstract-provider.coffee:235:10)\r\n    at file:///C:/Users/roelof/.atom/packages/atom-autocomplete-php/lib/annotation/abstract-provider.coffee:24:18\r\n    at Function.module.exports.Emitter.simpleDispatch (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\node_modules\\event-kit\\lib\\emitter.js:25:14)\r\n    at Emitter.module.exports.Emitter.emit (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\node_modules\\event-kit\\lib\\emitter.js:125:28)\r\n    at TextBuffer.module.exports.TextBuffer.saveAs (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\node_modules\\text-buffer\\lib\\text-buffer.js:1060:27)\r\n    at TextBuffer.module.exports.TextBuffer.save (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\node_modules\\text-buffer\\lib\\text-buffer.js:1030:19)\r\n    at TextEditor.module.exports.TextEditor.save (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\src\\text-editor.js:602:26)\r\n    at Pane.module.exports.Pane.saveItem (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\src\\pane.js:534:18)\r\n    at Pane.module.exports.Pane.saveActiveItem (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\src\\pane.js:517:19)\r\n    at Workspace.module.exports.Workspace.saveActivePaneItem (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\src\\workspace.js:633:35)\r\n    at atom-workspace.commandRegistry.add.core:save (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\src\\register-default-commands.js:173:32)\r\n    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\src\\command-registry.js:260:29)\r\n    at C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\src\\command-registry.js:3:61\r\n    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\node_modules\\atom-keymap\\lib\\keymap-manager.js:536:16)\r\n    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\node_modules\\atom-keymap\\lib\\keymap-manager.js:359:22)\r\n    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\src\\window-event-handler.js:97:36)\r\n    at HTMLDocument.<anonymous> (C:\\Users\\roelof\\AppData\\Local\\atom\\app-1.3.3\\resources\\app.asar\\src\\window-event-handler.js:3:61)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -2:15.4.0 core:select-up (atom-text-editor.editor.is-focused)\r\n     -2:15 editor:select-to-end-of-line (atom-text-editor.editor.is-focused)\r\n     -2:14.7.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -2:13.2.0 core:move-down (atom-text-editor.editor.is-focused)\r\n  2x -2:11.7.0 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)\r\n     -2:10.9.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)\r\n  2x -2:10.6.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)\r\n  2x -2:10.2.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -2:09.7.0 editor:newline (atom-text-editor.editor.is-focused)\r\n  5x -2:05.2.0 core:backspace (atom-text-editor.editor.is-focused)\r\n  3x -2:02.4.0 core:save (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"atom-dark-ui\",\r\n      \"monokai\"\r\n    ],\r\n    \"disabledPackages\": [\r\n      \"metrics\",\r\n      \"windows-carriage-return-remover\",\r\n      \"restore-windows\",\r\n      \"you-complete-me\",\r\n      \"autoflow\",\r\n      \"spell-check\",\r\n      \"dev-live-reload\",\r\n      \"silent-sync\",\r\n      \"Remote-FTP\",\r\n      \"vim-mode\",\r\n      \"refactor\",\r\n      \"js-refactor\",\r\n      \"typewriter\",\r\n      \"language-hyperlink\",\r\n      \"link\",\r\n      \"welcome\",\r\n      \"atom-phpcs\"\r\n    ],\r\n    \"autoHideMenuBar\": true,\r\n    \"projectHome\": \"D:\\\\development\",\r\n    \"followSymlinks\": true,\r\n    \"packagesWithKeymapsDisabled\": [\r\n      \"notifications\",\r\n      \"tree-view\",\r\n      \"weather\"\r\n    ],\r\n    \"destroyEmptyPanes\": false\r\n  },\r\n  \"atom-autocomplete-php\": {\r\n    \"binComposer\": \"C:\\\\ProgramData\\\\ComposerSetup\\\\bin\\\\composer\",\r\n    \"binPhp\": \"C:\\\\tools\\\\php\\\\php\",\r\n    \"insertNewlinesForUseStatements\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-autocomplete-php, v0.18.4\r\natom-beautify, v0.28.21\r\natom-easy-jsdoc, v4.2.0\r\natom-symfony2, v0.2.1\r\nbuild, v0.52.0\r\nbuild-grunt, v0.4.0\r\nbuild-make, v0.7.0\r\ncolor-picker, v2.0.14\r\ncss-snippets, v0.9.0\r\nfile-type-icons, v0.7.4\r\nirc, v0.4.0\r\njslint, v1.5.1\r\nlanguage-gmod-lua, v0.4.0\r\nlanguage-javascript-better, v1.7.1\r\nlanguage-latex, v0.6.1\r\nlanguage-pfm, v0.82.0\r\nlanguage-pgsql, v0.2.0\r\nlinter, v1.11.3\r\nlinter-jscs, v3.2.2\r\nlinter-jshint, v1.2.2\r\nlinter-just-say-no, v0.6.0\r\nlinter-less, v2.3.3\r\nlinter-lua, v1.0.1\r\nlinter-markdownlint, v1.0.1\r\nlinter-tidy, v1.0.1\r\nminimap, v4.19.0\r\nminimap-git-diff, v4.1.8\r\nminimap-linter, v1.1.1\r\nmonokai, v0.18.0\r\npdf-view, v0.39.0\r\nphp-twig, v4.0.0\r\nproject-view, v0.4.1\r\nremote-sync, v3.5.0\r\nsass-autocompile, v0.12.2\r\nsync-settings, v0.6.0\r\ntime-status, v1.1.0\r\ntravis-ci-status, v1.0.0\r\ntree-view-git-status, v0.2.2\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"}}