{"action":"created","issue":{"url":"https://api.github.com/repos/getgrav/grav/issues/342","labels_url":"https://api.github.com/repos/getgrav/grav/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/getgrav/grav/issues/342/comments","events_url":"https://api.github.com/repos/getgrav/grav/issues/342/events","html_url":"https://github.com/getgrav/grav/issues/342","id":109567519,"number":342,"title":"@data-options on plugin's blueprints caused error on gpm","user":{"login":"akhyarrh","id":10618799,"avatar_url":"https://avatars.githubusercontent.com/u/10618799?v=3","gravatar_id":"","url":"https://api.github.com/users/akhyarrh","html_url":"https://github.com/akhyarrh","followers_url":"https://api.github.com/users/akhyarrh/followers","following_url":"https://api.github.com/users/akhyarrh/following{/other_user}","gists_url":"https://api.github.com/users/akhyarrh/gists{/gist_id}","starred_url":"https://api.github.com/users/akhyarrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhyarrh/subscriptions","organizations_url":"https://api.github.com/users/akhyarrh/orgs","repos_url":"https://api.github.com/users/akhyarrh/repos","events_url":"https://api.github.com/users/akhyarrh/events{/privacy}","received_events_url":"https://api.github.com/users/akhyarrh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-02T20:37:11Z","updated_at":"2015-10-03T06:55:26Z","closed_at":"2015-10-03T06:55:26Z","body":"Steps:\r\n- install smileys plugin version 1.2.0 (`bin/gpm install smileys`) or [download](https://github.com/Sommerregen/grav-plugin-smileys/archive/v1.2.0.zip) and extract to `user/plugins`\r\n- go to Grav's root, open terminal, run `bin/gpm index`\r\n- Enjoy the error message\r\n\r\nThis error caused by `@data-options` on Smileys's blueprints.yaml (line 67)."},"comment":{"url":"https://api.github.com/repos/getgrav/grav/issues/comments/145210555","html_url":"https://github.com/getgrav/grav/issues/342#issuecomment-145210555","issue_url":"https://api.github.com/repos/getgrav/grav/issues/342","id":145210555,"user":{"login":"flaviocopes","id":11783388,"avatar_url":"https://avatars.githubusercontent.com/u/11783388?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviocopes","html_url":"https://github.com/flaviocopes","followers_url":"https://api.github.com/users/flaviocopes/followers","following_url":"https://api.github.com/users/flaviocopes/following{/other_user}","gists_url":"https://api.github.com/users/flaviocopes/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviocopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviocopes/subscriptions","organizations_url":"https://api.github.com/users/flaviocopes/orgs","repos_url":"https://api.github.com/users/flaviocopes/repos","events_url":"https://api.github.com/users/flaviocopes/events{/privacy}","received_events_url":"https://api.github.com/users/flaviocopes/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T06:55:26Z","updated_at":"2015-10-03T06:55:26Z","body":"The error is caused by the `\\Grav\\Plugin\\SmileysPlugin::getSmileyPacks` execution, triggered by `@data-options`.\r\n\r\nI think it's too early to call the debugger, which might not be initialized yet at that point when running `bin/gpm index`, and it gives an error. Filing a PR on the Smileys Plugin."}}