payload: {"action":"created","issue":{"url":"https://api.github.com/repos/ezSQL/ezsql/issues/152","repository_url":"https://api.github.com/repos/ezSQL/ezsql","labels_url":"https://api.github.com/repos/ezSQL/ezsql/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/ezSQL/ezsql/issues/152/comments","events_url":"https://api.github.com/repos/ezSQL/ezsql/issues/152/events","html_url":"https://github.com/ezSQL/ezsql/issues/152","id":430059888,"node_id":"MDU6SXNzdWU0MzAwNTk4ODg=","number":152,"title":"Initializing db error","user":{"login":"usabilitest","id":5130744,"node_id":"MDQ6VXNlcjUxMzA3NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5130744?v=4","gravatar_id":"","url":"https://api.github.com/users/usabilitest","html_url":"https://github.com/usabilitest","followers_url":"https://api.github.com/users/usabilitest/followers","following_url":"https://api.github.com/users/usabilitest/following{/other_user}","gists_url":"https://api.github.com/users/usabilitest/gists{/gist_id}","starred_url":"https://api.github.com/users/usabilitest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usabilitest/subscriptions","organizations_url":"https://api.github.com/users/usabilitest/orgs","repos_url":"https://api.github.com/users/usabilitest/repos","events_url":"https://api.github.com/users/usabilitest/events{/privacy}","received_events_url":"https://api.github.com/users/usabilitest/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-04-06T17:59:48Z","updated_at":"2019-04-06T18:47:04Z","closed_at":"2019-04-06T18:06:52Z","author_association":"NONE","body":"I've re-installed composer and ezsql (v3). I've verified that both files exist relative to my test file (/public_html/test.php), but I'm still not able to initialize the db. I've tried the  following approaches:\r\n\r\n```\r\nrequire_once '../vendor/ezsql/ezsql/ez_sql_loader.php';\r\n$setting = new Config('mysqli', ['my_usr', 'my_pass', 'my_db', 'localhost']);\r\n$db = new ez_mysqli($settings);\r\n```\r\nthen I tried:\r\n```\r\nrequire_once '../../../vendor/autoload.php';\r\n$db = Database::initialize('mysqli', ['my_usr', 'my_pass', 'my_db', 'localhost']);\r\n```\r\nunfortunately in both cases I got the following error:\r\n\r\n> received error: Fatal error: Default value for parameters with a class type hint can only be NULL in /home/mydomain/vendor/ezsql/ezsql/shared/ezFunctions.php on line 247\r\n\r\nWhat am I missing?"},"comment":{"url":"https://api.github.com/repos/ezSQL/ezsql/issues/comments/480528191","html_url":"https://github.com/ezSQL/ezsql/issues/152#issuecomment-480528191","issue_url":"https://api.github.com/repos/ezSQL/ezsql/issues/152","id":480528191,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4MDUyODE5MQ==","user":{"login":"techno-express","id":29784725,"node_id":"MDQ6VXNlcjI5Nzg0NzI1","avatar_url":"https://avatars0.githubusercontent.com/u/29784725?v=4","gravatar_id":"","url":"https://api.github.com/users/techno-express","html_url":"https://github.com/techno-express","followers_url":"https://api.github.com/users/techno-express/followers","following_url":"https://api.github.com/users/techno-express/following{/other_user}","gists_url":"https://api.github.com/users/techno-express/gists{/gist_id}","starred_url":"https://api.github.com/users/techno-express/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techno-express/subscriptions","organizations_url":"https://api.github.com/users/techno-express/orgs","repos_url":"https://api.github.com/users/techno-express/repos","events_url":"https://api.github.com/users/techno-express/events{/privacy}","received_events_url":"https://api.github.com/users/techno-express/received_events","type":"User","site_admin":false},"created_at":"2019-04-06T18:47:04Z","updated_at":"2019-04-06T18:47:04Z","author_association":"CONTRIBUTOR","body":"It's require 'ez_sql_loader.php', if not using composer. As readme show.\nTake an look at the phpunit tests folder in v3 branch. it shows full\ndatabase setup and tests that are real database tests, no mocks.\n\nIf there where any real issue then the status badges would show so as\nfailing.\n\n\n\nOn Sat, Apr 6, 2019, 2:22 PM usabilitest <notifications@github.com> wrote:\n\n> OK, I was able to get my old ezsql v2.03 to work by doing the following:\n>\n> include_once '../include/lib/ezsql/shared/ez_sql_core.php';\n> include_once '../include/lib/ezsql/mysql/ez_sql_mysql.php';\n> include_once '../include/lib/ezsql/db_connect.inc.php';\n>\n> The problem is that it only works under PHP 5.6 and breaks under v7.\n>\n> If I were to change to newly installed v3 what would my PHP code look\n> like? I'm so confused at this point that it's not even funny. The above\n> reference to README file, provides absolutely no insight into how to get v3\n> going - it's basically a changelog. I'd I appreciate any help I can get at\n> this point.\n>\n> —\n> You are receiving this because you modified the open/close state.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/ezSQL/ezsql/issues/152#issuecomment-480526299>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AcZ6ledzZ8Y3ePWRb4mE83esRbeFcJ37ks5veOX2gaJpZM4cgVSW>\n> .\n>\n"}}
other: {"actor":{"display_login":"techno-express"}}