{"action":"created","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/308","repository_url":"https://api.github.com/repos/kartik-v/yii2-grid","labels_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/308/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/308/events","html_url":"https://github.com/kartik-v/yii2-grid/issues/308","id":83838834,"number":308,"title":"InvalidConfigException: The class '\\kartik\\mpdf\\Pdf' was not found","user":{"login":"schmunk42","id":649031,"avatar_url":"https://avatars.githubusercontent.com/u/649031?v=3","gravatar_id":"","url":"https://api.github.com/users/schmunk42","html_url":"https://github.com/schmunk42","followers_url":"https://api.github.com/users/schmunk42/followers","following_url":"https://api.github.com/users/schmunk42/following{/other_user}","gists_url":"https://api.github.com/users/schmunk42/gists{/gist_id}","starred_url":"https://api.github.com/users/schmunk42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmunk42/subscriptions","organizations_url":"https://api.github.com/users/schmunk42/orgs","repos_url":"https://api.github.com/users/schmunk42/repos","events_url":"https://api.github.com/users/schmunk42/events{/privacy}","received_events_url":"https://api.github.com/users/schmunk42/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kartik-v/yii2-grid/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2015-06-02T04:51:17Z","updated_at":"2016-09-16T21:57:25Z","closed_at":"2015-06-02T05:46:39Z","body":"Error message:\r\n\r\n```\r\nInvalid Configuration – yii\\base\\InvalidConfigException\r\n\r\nThe class '\\kartik\\mpdf\\Pdf' was not found and is required for PDF export functionality. To include PDF export, follow the install steps below. If you do not need PDF export functionality, do not include 'PDF' as a format in the 'export' property. You can otherwise set 'export' to false to disable all export functionality.\r\n\r\nPlease ensure you have installed the 'yii2-mpdf' extension. To install, you can run this console command from your application root:\r\n\r\nphp composer.phar require kartik-v/yii2-mpdf: \"@dev\"\r\n```\r\n\r\nInstead of the complicated error message, I'd rather recommend to set `export` to `false` by default."},"comment":{"url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/comments/247718558","html_url":"https://github.com/kartik-v/yii2-grid/issues/308#issuecomment-247718558","issue_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/308","id":247718558,"user":{"login":"schmunk42","id":649031,"avatar_url":"https://avatars.githubusercontent.com/u/649031?v=3","gravatar_id":"","url":"https://api.github.com/users/schmunk42","html_url":"https://github.com/schmunk42","followers_url":"https://api.github.com/users/schmunk42/followers","following_url":"https://api.github.com/users/schmunk42/following{/other_user}","gists_url":"https://api.github.com/users/schmunk42/gists{/gist_id}","starred_url":"https://api.github.com/users/schmunk42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmunk42/subscriptions","organizations_url":"https://api.github.com/users/schmunk42/orgs","repos_url":"https://api.github.com/users/schmunk42/repos","events_url":"https://api.github.com/users/schmunk42/events{/privacy}","received_events_url":"https://api.github.com/users/schmunk42/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T21:57:25Z","updated_at":"2016-09-16T21:57:25Z","body":"I ran into this again, since grid requires yii2-mpdf which requires mpdf you need to download dozens of MB without ever needing it."}}
{"actor":{"display_login":"schmunk42"}}