{"action":"created","issue":{"url":"https://api.github.com/repos/zelenin/yii2-rss/issues/5","labels_url":"https://api.github.com/repos/zelenin/yii2-rss/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/zelenin/yii2-rss/issues/5/comments","events_url":"https://api.github.com/repos/zelenin/yii2-rss/issues/5/events","html_url":"https://github.com/zelenin/yii2-rss/issues/5","id":115366760,"number":5,"title":"Must be an instance of Zelenin\\Feed","user":{"login":"croatiangrn","id":4663536,"avatar_url":"https://avatars.githubusercontent.com/u/4663536?v=3","gravatar_id":"","url":"https://api.github.com/users/croatiangrn","html_url":"https://github.com/croatiangrn","followers_url":"https://api.github.com/users/croatiangrn/followers","following_url":"https://api.github.com/users/croatiangrn/following{/other_user}","gists_url":"https://api.github.com/users/croatiangrn/gists{/gist_id}","starred_url":"https://api.github.com/users/croatiangrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/croatiangrn/subscriptions","organizations_url":"https://api.github.com/users/croatiangrn/orgs","repos_url":"https://api.github.com/users/croatiangrn/repos","events_url":"https://api.github.com/users/croatiangrn/events{/privacy}","received_events_url":"https://api.github.com/users/croatiangrn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-05T20:25:30Z","updated_at":"2015-11-05T20:43:15Z","closed_at":"2015-11-05T20:29:05Z","body":"exception 'yii\\base\\ErrorException' with message 'Argument 2 passed to app\\controllers\\SiteController::app\\controllers\\{closure}() must be an instance of Zelenin\\Feed, none given' in /home/<user>/htdocs/<project_name>/Yii/controllers/SiteController.php:202\r\n\r\nMy code\r\n        public function actionFeed()\r\n\t    {\r\n\t    $dataProvider = new ActiveDataProvider([\r\n\t        'query' => BlogPost::find()->orderBy('id DESC')->where('published = 1'),\r\n\t        'pagination' => [\r\n\t             'pageSize' => 10\r\n\t        ],\r\n\t    ]);\r\n\r\n\t   \r\n        Yii::$app->response->format = \\yii\\web\\Response::FORMAT_RAW;\r\n        $headers = Yii::$app->response->headers;\r\n        $headers->add('Content-Type', 'application/rss+xml');\r\n\r\n\t    echo \\Zelenin\\yii\\extensions\\Rss\\RssView::widget([\r\n\t        'dataProvider' => $dataProvider,\r\n\t        'channel' => [\r\n\t            'title' => 'AIM Higher - Blog',\r\n\t            'link' => Url::toRoute(['site/feed'], true),\r\n\t            'description' => 'Posts ',\r\n\t            'language' => function ($widget, \\Zelenin\\Feed $feed) {\r\n\t                return Yii::$app->language;\r\n\t            },\r\n\t            'image'=> function ($widget, \\Zelenin\\Feed $feed) {\r\n\t                $feed->addChannelImage('http://www.dailyblogtips.com/wp-content/uploads/bigrss.gif');\r\n\t            },\r\n\t        ],\r\n\t        'items' => [\r\n\t            'title' => function ($model, $widget) {\r\n\t                    return $model->title;\r\n\t                },\r\n\t            'description' => function ($model, $widget) {\r\n\t                    return StringHelper::truncateWords($model->content, 50);\r\n\t                },\r\n\t            'link' => function ($model, $widget) {\r\n\t                    return Url::toRoute(['post/view', 'id' => $model->id], true);\r\n\t                },\r\n\t            'guid' => function ($model, $widget) {\r\n\t                    return Url::toRoute(['site/blog', 'slug' => $model->slug], true);\r\n\t                },\r\n\t            'pubDate' => function ($model, $widget) {\r\n\t            \treturn date('r',$model->updated_at);\r\n\t                }\r\n\t        ]\r\n\t    ]);\r\n\t}\r\n\r\nThis line 202 is on 'language'.. On localhost it works, on live server this error appears."},"comment":{"url":"https://api.github.com/repos/zelenin/yii2-rss/issues/comments/154184640","html_url":"https://github.com/zelenin/yii2-rss/issues/5#issuecomment-154184640","issue_url":"https://api.github.com/repos/zelenin/yii2-rss/issues/5","id":154184640,"user":{"login":"croatiangrn","id":4663536,"avatar_url":"https://avatars.githubusercontent.com/u/4663536?v=3","gravatar_id":"","url":"https://api.github.com/users/croatiangrn","html_url":"https://github.com/croatiangrn","followers_url":"https://api.github.com/users/croatiangrn/followers","following_url":"https://api.github.com/users/croatiangrn/following{/other_user}","gists_url":"https://api.github.com/users/croatiangrn/gists{/gist_id}","starred_url":"https://api.github.com/users/croatiangrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/croatiangrn/subscriptions","organizations_url":"https://api.github.com/users/croatiangrn/orgs","repos_url":"https://api.github.com/users/croatiangrn/repos","events_url":"https://api.github.com/users/croatiangrn/events{/privacy}","received_events_url":"https://api.github.com/users/croatiangrn/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T20:43:15Z","updated_at":"2015-11-05T20:43:15Z","body":"$ composer update\r\nLoading composer repositories with package information\r\nUpdating dependencies (including require-dev)\r\nYour requirements could not be resolved to an installable set of packages.\r\n\r\n  Problem 1\r\n    - The requested package zelenin/yii2-rss 0.1.0 could not be found."}}