{"action":"created","issue":{"url":"https://api.github.com/repos/directus/sdk-php/issues/38","repository_url":"https://api.github.com/repos/directus/sdk-php","labels_url":"https://api.github.com/repos/directus/sdk-php/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/directus/sdk-php/issues/38/comments","events_url":"https://api.github.com/repos/directus/sdk-php/issues/38/events","html_url":"https://github.com/directus/sdk-php/issues/38","id":377087072,"node_id":"MDU6SXNzdWUzNzcwODcwNzI=","number":38,"title":"Client instance creation: \"Uncaught PDOException: SQLSTATE[42S22]: Column not found\"","user":{"login":"xJoeyv","id":13612647,"node_id":"MDQ6VXNlcjEzNjEyNjQ3","avatar_url":"https://avatars3.githubusercontent.com/u/13612647?v=4","gravatar_id":"","url":"https://api.github.com/users/xJoeyv","html_url":"https://github.com/xJoeyv","followers_url":"https://api.github.com/users/xJoeyv/followers","following_url":"https://api.github.com/users/xJoeyv/following{/other_user}","gists_url":"https://api.github.com/users/xJoeyv/gists{/gist_id}","starred_url":"https://api.github.com/users/xJoeyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xJoeyv/subscriptions","organizations_url":"https://api.github.com/users/xJoeyv/orgs","repos_url":"https://api.github.com/users/xJoeyv/repos","events_url":"https://api.github.com/users/xJoeyv/events{/privacy}","received_events_url":"https://api.github.com/users/xJoeyv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-03T19:46:07Z","updated_at":"2018-11-05T13:43:26Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI create a new FactoryClient and pass in the config and get an error back without executing any other code related to the client. It's just initing it.\r\n\r\n**Error**\r\n`Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'collection' in 'where clause' in C:\\laragon\\www\\joeydvries\\vendor\\zendframework\\zend-db\\src\\Adapter\\Driver\\Pdo\\Statement.php:239 Stack trace: #2 `\r\n\r\n**Code**\r\n```\r\nuse Directus\\SDK\\ClientFactory;\r\nuse duncan3dc\\Laravel\\BladeInstance;\r\nuse Siler\\Route;\r\n\r\n$client = ClientFactory::create([\r\n    'database' => [\r\n        'hostname' => '...',\r\n        'username' => '...',\r\n        'password' => '...',\r\n        'database' => '...',\r\n    ],\r\n    'filesystem' => [\r\n        'root' => './api/public/uploads/'\r\n    ]\r\n]);\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/directus/sdk-php/issues/comments/435877744","html_url":"https://github.com/directus/sdk-php/issues/38#issuecomment-435877744","issue_url":"https://api.github.com/repos/directus/sdk-php/issues/38","id":435877744,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTg3Nzc0NA==","user":{"login":"WellingGuzman","id":1531291,"node_id":"MDQ6VXNlcjE1MzEyOTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1531291?v=4","gravatar_id":"","url":"https://api.github.com/users/WellingGuzman","html_url":"https://github.com/WellingGuzman","followers_url":"https://api.github.com/users/WellingGuzman/followers","following_url":"https://api.github.com/users/WellingGuzman/following{/other_user}","gists_url":"https://api.github.com/users/WellingGuzman/gists{/gist_id}","starred_url":"https://api.github.com/users/WellingGuzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WellingGuzman/subscriptions","organizations_url":"https://api.github.com/users/WellingGuzman/orgs","repos_url":"https://api.github.com/users/WellingGuzman/repos","events_url":"https://api.github.com/users/WellingGuzman/events{/privacy}","received_events_url":"https://api.github.com/users/WellingGuzman/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T13:43:26Z","updated_at":"2018-11-05T13:43:26Z","author_association":"MEMBER","body":"Hey @xJoeyv, Are you using the library on a Directus 7 instance? Because the SDK should only works for Directus 6."}}
{"actor":{"display_login":"WellingGuzman"}}