{"action":"created","issue":{"url":"https://api.github.com/repos/spbooks/phpmysql6/issues/7","repository_url":"https://api.github.com/repos/spbooks/phpmysql6","labels_url":"https://api.github.com/repos/spbooks/phpmysql6/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/spbooks/phpmysql6/issues/7/comments","events_url":"https://api.github.com/repos/spbooks/phpmysql6/issues/7/events","html_url":"https://github.com/spbooks/phpmysql6/issues/7","id":344598939,"node_id":"MDU6SXNzdWUzNDQ1OTg5Mzk=","number":7,"title":"Chapter 9 Breaks my code","user":{"login":"squirz96","id":31878845,"node_id":"MDQ6VXNlcjMxODc4ODQ1","avatar_url":"https://avatars1.githubusercontent.com/u/31878845?v=4","gravatar_id":"","url":"https://api.github.com/users/squirz96","html_url":"https://github.com/squirz96","followers_url":"https://api.github.com/users/squirz96/followers","following_url":"https://api.github.com/users/squirz96/following{/other_user}","gists_url":"https://api.github.com/users/squirz96/gists{/gist_id}","starred_url":"https://api.github.com/users/squirz96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squirz96/subscriptions","organizations_url":"https://api.github.com/users/squirz96/orgs","repos_url":"https://api.github.com/users/squirz96/repos","events_url":"https://api.github.com/users/squirz96/events{/privacy}","received_events_url":"https://api.github.com/users/squirz96/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":37,"created_at":"2018-07-25T20:40:33Z","updated_at":"2018-08-03T09:39:11Z","closed_at":null,"author_association":"NONE","body":"Here are few errors when I try running \"index.php\" : \r\nPHP Fatal error:  Uncaught TypeError: Argument 2 passed to Ninja\\EntryPoint::__construct() must be of the type string, null given, called in /srv/http/ph/examples/index.php on line 6 and defined in /srv/http/ph/classes/Ninja/EntryPoint.php:9\r\nStack trace:\r\n#0 /srv/http/ph/examples/index.php(6): Ninja\\EntryPoint->__construct('', NULL, Object(Ijdb\\IjdbRoutes))\r\n#1 {main}\r\n  thrown in /srv/http/ph/classes/Ninja/EntryPoint.php on line 9\r\n\r\n\r\nWhen I got the book, I already got my LAMP server running, ph is just directory for php projects. Also, I am using php storm IDE "},"comment":{"url":"https://api.github.com/repos/spbooks/phpmysql6/issues/comments/410201842","html_url":"https://github.com/spbooks/phpmysql6/issues/7#issuecomment-410201842","issue_url":"https://api.github.com/repos/spbooks/phpmysql6/issues/7","id":410201842,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDIwMTg0Mg==","user":{"login":"TomBZombie","id":2454540,"node_id":"MDQ6VXNlcjI0NTQ1NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/2454540?v=4","gravatar_id":"","url":"https://api.github.com/users/TomBZombie","html_url":"https://github.com/TomBZombie","followers_url":"https://api.github.com/users/TomBZombie/followers","following_url":"https://api.github.com/users/TomBZombie/following{/other_user}","gists_url":"https://api.github.com/users/TomBZombie/gists{/gist_id}","starred_url":"https://api.github.com/users/TomBZombie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomBZombie/subscriptions","organizations_url":"https://api.github.com/users/TomBZombie/orgs","repos_url":"https://api.github.com/users/TomBZombie/repos","events_url":"https://api.github.com/users/TomBZombie/events{/privacy}","received_events_url":"https://api.github.com/users/TomBZombie/received_events","type":"User","site_admin":false},"created_at":"2018-08-03T09:39:11Z","updated_at":"2018-08-03T09:39:11Z","author_association":"COLLABORATOR","body":"Did you create the .htaccess file as described in chapter 9? You need this for apache."}}
{"actor":{"display_login":"TomBZombie"}}