{"action":"closed","issue":{"url":"https://api.github.com/repos/cviebrock/laravel-elasticsearch/issues/13","repository_url":"https://api.github.com/repos/cviebrock/laravel-elasticsearch","labels_url":"https://api.github.com/repos/cviebrock/laravel-elasticsearch/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/cviebrock/laravel-elasticsearch/issues/13/comments","events_url":"https://api.github.com/repos/cviebrock/laravel-elasticsearch/issues/13/events","html_url":"https://github.com/cviebrock/laravel-elasticsearch/issues/13","id":162464003,"number":13,"title":"Error: After last composer update","user":{"login":"douglasmiguel","id":299119,"avatar_url":"https://avatars.githubusercontent.com/u/299119?v=3","gravatar_id":"","url":"https://api.github.com/users/douglasmiguel","html_url":"https://github.com/douglasmiguel","followers_url":"https://api.github.com/users/douglasmiguel/followers","following_url":"https://api.github.com/users/douglasmiguel/following{/other_user}","gists_url":"https://api.github.com/users/douglasmiguel/gists{/gist_id}","starred_url":"https://api.github.com/users/douglasmiguel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglasmiguel/subscriptions","organizations_url":"https://api.github.com/users/douglasmiguel/orgs","repos_url":"https://api.github.com/users/douglasmiguel/repos","events_url":"https://api.github.com/users/douglasmiguel/events{/privacy}","received_events_url":"https://api.github.com/users/douglasmiguel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-27T14:22:16Z","updated_at":"2016-06-27T15:10:54Z","closed_at":"2016-06-27T15:10:53Z","body":"> PHP Fatal error:  Call to undefined method Cviebrock\\LaravelElasticsearch\\ServiceProvider::publishes() in {project}/vendor/cviebrock/laravel-elasticsearch/src/ServiceProvider.php on line 32\r\n> {\"error\":{\"type\":\"Symfony\\\\Component\\\\Debug\\\\Exception\\\\FatalErrorException\",\"message\":\"Call to undefined method Cviebrock\\\\LaravelElasticsearch\\\\ServiceProvider::publishes()\",\"file\":\"{project}\\/vendor\\/cviebrock\\/laravel-elasticsearch\\/src\\/ServiceProvider.php\",\"line\":32}}Script php artisan clear-compiled handling the post-update-cmd event returned with an error\r\n> \r\n> [RuntimeException]\r\n> Error Output: PHP Fatal error:  Call to undefined method Cviebrock\\LaravelElasticsearch\\ServiceProvider::publishes() in {project}/ve\r\n>   ndor/cviebrock/laravel-elasticsearch/src/ServiceProvider.php on line 32\r\n\r\n\r\n**I solved this by commenting the following code block:**\r\n\r\nLine 32:\r\n// $this->publishes([\r\n//     $configPath => config_path('elasticsearch.php'),\r\n// ]);\r\n\r\nApparently the **_ServiceProviderBase_** remove method **_publishes_**."}}
{"actor":{"display_login":"cviebrock"}}