Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add composer autoload in quickstart.php #3

Merged
merged 1 commit into from
May 24, 2018

Conversation

rogeriopradoj
Copy link
Contributor

https://getcomposer.org/doc/01-basic-usage.md#autoloading

Otherwise, following error was throw:

PHP Fatal error:  Uncaught Error: Class 'Google_Client' not found in /folder/google-drive-api/quickstart.php:8
Stack trace:
#0 /folder/google-drive-api/quickstart.php(60): getClient()
#1 {main}
  thrown in /folder/google-drive-api/quickstart.php on line 8

Fatal error: Uncaught Error: Class 'Google_Client' not found in /folder/google-drive-api/quickstart.php on line 8

Error: Class 'Google_Client' not found in /folder/google-drive-api/quickstart.php on line 8

Call Stack:
    0.0010     411688   1. {main}() /folder/google-drive-api/quickstart.php:0
    0.0011     411688   2. getClient() /folder/google-drive-api/quickstart.php:60

https://getcomposer.org/doc/01-basic-usage.md#autoloading

Otherwise, following error was throw:

```shell
PHP Fatal error:  Uncaught Error: Class 'Google_Client' not found in /folder/google-drive-api/quickstart.php:8
Stack trace:
#0 /folder/google-drive-api/quickstart.php(60): getClient()
googleworkspace#1 {main}
  thrown in /folder/google-drive-api/quickstart.php on line 8

Fatal error: Uncaught Error: Class 'Google_Client' not found in /folder/google-drive-api/quickstart.php on line 8

Error: Class 'Google_Client' not found in /folder/google-drive-api/quickstart.php on line 8

Call Stack:
    0.0010     411688   1. {main}() /folder/google-drive-api/quickstart.php:0
    0.0011     411688   2. getClient() /folder/google-drive-api/quickstart.php:60
```
@erickoledadevrel
Copy link

Thanks for catching this! Looks like the build failure is unrelated to you change, so merging.

@erickoledadevrel erickoledadevrel merged commit 1afb051 into googleworkspace:master May 24, 2018
@amirooz amirooz mentioned this pull request Jul 18, 2018
@andriy159 andriy159 mentioned this pull request Aug 5, 2018
@ghost ghost mentioned this pull request Mar 28, 2019
@hiteshmohite19 hiteshmohite19 mentioned this pull request Mar 24, 2020
@Eharth Eharth mentioned this pull request Jun 11, 2020
sqrrrl pushed a commit that referenced this pull request Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants