{"action":"opened","issue":{"url":"https://api.github.com/repos/getherbert/herbert/issues/65","labels_url":"https://api.github.com/repos/getherbert/herbert/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/getherbert/herbert/issues/65/comments","events_url":"https://api.github.com/repos/getherbert/herbert/issues/65/events","html_url":"https://github.com/getherbert/herbert/issues/65","id":100145817,"number":65,"title":"Throw fatal error when the  parameter $callable in $shortcode->add()  is a closure","user":{"login":"txd159","id":1873483,"avatar_url":"https://avatars.githubusercontent.com/u/1873483?v=3","gravatar_id":"","url":"https://api.github.com/users/txd159","html_url":"https://github.com/txd159","followers_url":"https://api.github.com/users/txd159/followers","following_url":"https://api.github.com/users/txd159/following{/other_user}","gists_url":"https://api.github.com/users/txd159/gists{/gist_id}","starred_url":"https://api.github.com/users/txd159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/txd159/subscriptions","organizations_url":"https://api.github.com/users/txd159/orgs","repos_url":"https://api.github.com/users/txd159/repos","events_url":"https://api.github.com/users/txd159/events{/privacy}","received_events_url":"https://api.github.com/users/txd159/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-10T19:15:49Z","updated_at":"2015-08-10T19:15:49Z","closed_at":null,"body":"Line 44 in Herbert/Framework/Shortcode.php\r\n\r\n```PHP\r\nif (strpos($callable, '::') !== false)\r\n```\r\n\r\nI try to change it to \r\n```PHP\r\nif (is_string($callable) && strpos($callable, '::') !== false)\r\n```\r\n\r\nIt works!\r\n\r\n"}}