{"action":"created","issue":{"url":"https://api.github.com/repos/mrakodol/Laravel-5-Bootstrap-3-Starter-Site/issues/51","labels_url":"https://api.github.com/repos/mrakodol/Laravel-5-Bootstrap-3-Starter-Site/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/mrakodol/Laravel-5-Bootstrap-3-Starter-Site/issues/51/comments","events_url":"https://api.github.com/repos/mrakodol/Laravel-5-Bootstrap-3-Starter-Site/issues/51/events","html_url":"https://github.com/mrakodol/Laravel-5-Bootstrap-3-Starter-Site/issues/51","id":58170747,"number":51,"title":"QueryException in Connection.php line 614","user":{"login":"cklam","id":3839839,"avatar_url":"https://avatars.githubusercontent.com/u/3839839?v=3","gravatar_id":"","url":"https://api.github.com/users/cklam","html_url":"https://github.com/cklam","followers_url":"https://api.github.com/users/cklam/followers","following_url":"https://api.github.com/users/cklam/following{/other_user}","gists_url":"https://api.github.com/users/cklam/gists{/gist_id}","starred_url":"https://api.github.com/users/cklam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cklam/subscriptions","organizations_url":"https://api.github.com/users/cklam/orgs","repos_url":"https://api.github.com/users/cklam/repos","events_url":"https://api.github.com/users/cklam/events{/privacy}","received_events_url":"https://api.github.com/users/cklam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T05:51:39Z","updated_at":"2015-02-19T08:31:55Z","closed_at":null,"body":"QueryException in Connection.php line 614:\r\nSQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '{tbpfx}filename from photo WHERE album_cover=1 and ${tbpfx}photo.photo_album_id=' at line 1 (SQL: select `photo_album`.`id`, `photo_album`.`name`, `photo_album`.`description`, `photo_album`.`folderid`, (select ${tbpfx}filename from photo WHERE album_cover=1 and ${tbpfx}photo.photo_album_id=${tbpfx}photo_album.id) AS album_image, (select ${tbpfx}filename from photo WHERE ${tbpfx}photo.photo_album_id=${tbpfx}photo_album.id ORDER BY position ASC, id ASC LIMIT 1) AS album_image_first from `photo_album` limit 8)"},"comment":{"url":"https://api.github.com/repos/mrakodol/Laravel-5-Bootstrap-3-Starter-Site/issues/comments/75014493","html_url":"https://github.com/mrakodol/Laravel-5-Bootstrap-3-Starter-Site/issues/51#issuecomment-75014493","issue_url":"https://api.github.com/repos/mrakodol/Laravel-5-Bootstrap-3-Starter-Site/issues/51","id":75014493,"user":{"login":"petrosit","id":10325592,"avatar_url":"https://avatars.githubusercontent.com/u/10325592?v=3","gravatar_id":"","url":"https://api.github.com/users/petrosit","html_url":"https://github.com/petrosit","followers_url":"https://api.github.com/users/petrosit/followers","following_url":"https://api.github.com/users/petrosit/following{/other_user}","gists_url":"https://api.github.com/users/petrosit/gists{/gist_id}","starred_url":"https://api.github.com/users/petrosit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrosit/subscriptions","organizations_url":"https://api.github.com/users/petrosit/orgs","repos_url":"https://api.github.com/users/petrosit/repos","events_url":"https://api.github.com/users/petrosit/events{/privacy}","received_events_url":"https://api.github.com/users/petrosit/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T08:31:55Z","updated_at":"2015-02-19T08:31:55Z","body":"Have the same issue."}}