{"action":"created","issue":{"url":"https://api.github.com/repos/google/google-api-php-client/issues/1214","repository_url":"https://api.github.com/repos/google/google-api-php-client","labels_url":"https://api.github.com/repos/google/google-api-php-client/issues/1214/labels{/name}","comments_url":"https://api.github.com/repos/google/google-api-php-client/issues/1214/comments","events_url":"https://api.github.com/repos/google/google-api-php-client/issues/1214/events","html_url":"https://github.com/google/google-api-php-client/issues/1214","id":226628742,"number":1214,"title":"Fatal error: Class 'Google_Client' not found ","user":{"login":"simonericci","id":1442941,"avatar_url":"https://avatars1.githubusercontent.com/u/1442941?v=4","gravatar_id":"","url":"https://api.github.com/users/simonericci","html_url":"https://github.com/simonericci","followers_url":"https://api.github.com/users/simonericci/followers","following_url":"https://api.github.com/users/simonericci/following{/other_user}","gists_url":"https://api.github.com/users/simonericci/gists{/gist_id}","starred_url":"https://api.github.com/users/simonericci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonericci/subscriptions","organizations_url":"https://api.github.com/users/simonericci/orgs","repos_url":"https://api.github.com/users/simonericci/repos","events_url":"https://api.github.com/users/simonericci/events{/privacy}","received_events_url":"https://api.github.com/users/simonericci/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-05T16:42:18Z","updated_at":"2018-02-09T13:09:15Z","closed_at":"2017-05-08T14:41:22Z","author_association":"NONE","body":"Api installed manually, not via Composer, downloaded from here (first zip): https://github.com/google/google-api-php-client/releases\r\n\r\nI got this error, trying to instantiate the main class: \r\n**Fatal error: Class 'Google_Client' not found** \r\n- Php \"require_once\" looks ok (no error).\r\n- Json's credentials looks ok (no error).\r\n- Class instance not ok.\r\n\r\n`require_once('./vendor/autoload.php');\r\n\tputenv('GOOGLE_APPLICATION_CREDENTIALS=./mycredentials.json');\r\n\t$client = new Google_Client();\r\n\t$client->useApplicationDefaultCredentials();\r\n\t$client->setScopes('https://www.googleapis.com/auth/fusiontables');\r\n\t$service = new Google_Service_Fusiontables($client);`\r\n\r\nThis is the source code I can see in /vendor/autoload.php\r\n`<?php\r\n\r\n// autoload.php @generated by Composer\r\n\r\nrequire_once __DIR__ . '/composer' . '/autoload_real.php';\r\n\r\nreturn ComposerAutoloaderInit9c18b0e2f8ac75b5fbc347bb34dca41d::getLoader();`\r\n\r\nAny hint? "},"comment":{"url":"https://api.github.com/repos/google/google-api-php-client/issues/comments/364429198","html_url":"https://github.com/google/google-api-php-client/issues/1214#issuecomment-364429198","issue_url":"https://api.github.com/repos/google/google-api-php-client/issues/1214","id":364429198,"user":{"login":"induraniv","id":19529021,"avatar_url":"https://avatars0.githubusercontent.com/u/19529021?v=4","gravatar_id":"","url":"https://api.github.com/users/induraniv","html_url":"https://github.com/induraniv","followers_url":"https://api.github.com/users/induraniv/followers","following_url":"https://api.github.com/users/induraniv/following{/other_user}","gists_url":"https://api.github.com/users/induraniv/gists{/gist_id}","starred_url":"https://api.github.com/users/induraniv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/induraniv/subscriptions","organizations_url":"https://api.github.com/users/induraniv/orgs","repos_url":"https://api.github.com/users/induraniv/repos","events_url":"https://api.github.com/users/induraniv/events{/privacy}","received_events_url":"https://api.github.com/users/induraniv/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T13:09:15Z","updated_at":"2018-02-09T13:09:15Z","author_association":"NONE","body":"Class 'vendor\\Google\\src\\Google\\Google_Client' not found\r\nApi installed manually, not via Composer."}}
{"actor":{"display_login":"induraniv"}}