{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/csv/issues/116","labels_url":"https://api.github.com/repos/thephpleague/csv/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/csv/issues/116/comments","events_url":"https://api.github.com/repos/thephpleague/csv/issues/116/events","html_url":"https://github.com/thephpleague/csv/issues/116","id":106865291,"number":116,"title":"The values are not convertible into strings","user":{"login":"james-daddies","id":10661567,"avatar_url":"https://avatars.githubusercontent.com/u/10661567?v=3","gravatar_id":"","url":"https://api.github.com/users/james-daddies","html_url":"https://github.com/james-daddies","followers_url":"https://api.github.com/users/james-daddies/followers","following_url":"https://api.github.com/users/james-daddies/following{/other_user}","gists_url":"https://api.github.com/users/james-daddies/gists{/gist_id}","starred_url":"https://api.github.com/users/james-daddies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james-daddies/subscriptions","organizations_url":"https://api.github.com/users/james-daddies/orgs","repos_url":"https://api.github.com/users/james-daddies/repos","events_url":"https://api.github.com/users/james-daddies/events{/privacy}","received_events_url":"https://api.github.com/users/james-daddies/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-16T21:12:49Z","updated_at":"2015-09-17T07:01:22Z","closed_at":"2015-09-17T07:01:22Z","body":"When the Writer comes across a `NULL` value from the database, an exception is thrown. \r\n\r\n`exception 'InvalidArgumentException' with message 'the values are not convertible into strings' in /home/inventory/www/vendor/league/csv/src/Writer.php:255`\r\n\r\nI can handle the cases of `NULL` with `$row->value ?: ''` but really I would except the Writer to be able to handle `NULL` out of the box."},"comment":{"url":"https://api.github.com/repos/thephpleague/csv/issues/comments/140987527","html_url":"https://github.com/thephpleague/csv/issues/116#issuecomment-140987527","issue_url":"https://api.github.com/repos/thephpleague/csv/issues/116","id":140987527,"user":{"login":"nyamsprod","id":51073,"avatar_url":"https://avatars.githubusercontent.com/u/51073?v=3","gravatar_id":"","url":"https://api.github.com/users/nyamsprod","html_url":"https://github.com/nyamsprod","followers_url":"https://api.github.com/users/nyamsprod/followers","following_url":"https://api.github.com/users/nyamsprod/following{/other_user}","gists_url":"https://api.github.com/users/nyamsprod/gists{/gist_id}","starred_url":"https://api.github.com/users/nyamsprod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyamsprod/subscriptions","organizations_url":"https://api.github.com/users/nyamsprod/orgs","repos_url":"https://api.github.com/users/nyamsprod/repos","events_url":"https://api.github.com/users/nyamsprod/events{/privacy}","received_events_url":"https://api.github.com/users/nyamsprod/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T07:01:22Z","updated_at":"2015-09-17T07:01:22Z","body":"Type conversion from `null` to empty string was indeed made out of the box in [version 7.0](http://csv.thephpleague.com/upgrading/7.0/#null-handling) "}}