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

Fatal error: Uncaught exception 'GuzzleHttp\Exception\RequestException' #18

Open
Tokipudi opened this issue Jul 24, 2017 · 1 comment
Open

Comments

@Tokipudi
Copy link

Hey,

I managed to get this working (kinda) by adding require "vendor/autoload.php"; at the beginning of the PHP code you wrote, but once I click on Authorize I get back to the index with this lengthy error that I don't understand.

What it returns exactly :

Fatal error: Uncaught exception 'GuzzleHttp\Exception\RequestException' with message 'cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)' in D:\jsd31\Documents\Freelance\Perso\Movie of the week\form\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:187 Stack trace: #0 D:\jsd31\Documents\Freelance\Perso\Movie of the week\form\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 D:\jsd31\Documents\Freelance\Perso\Movie of the week\form\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #2 D:\jsd31\Documents\Freelance\Perso\Movie of the week\form\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\Cur in D:\jsd31\Documents\Freelance\Perso\Movie of the week\form\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 187

The main url of the project is localhost/myproject/index.php and the one which shows this message is localhost/myproject/index.php?state=0imChXLChR4G67XzbZnGZLqJNewgsxFi&code=cpwGRRJejzR6nj7HFSCCChiglk8Utg

Do you have any idea as to what could be the problem here ?

Thank you for your time.

@Tokipudi
Copy link
Author

Tokipudi commented Jul 24, 2017

I have done what is said in this link to deal with this issue, but I still have another one that says :

Notice: Undefined variable: getOldTokenFromMemory in D:\jsd31\Documents\Freelance\Perso\Movie of the week\form\oauth2-discord.php on line 30 Fatal error: Call to a member function getRefreshToken() on null in D:\jsd31\Documents\Freelance\Perso\Movie of the week\form\oauth2-discord.php on line 30

Even though the client_id, client_secret and redirectUri are all entered and correct.

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

No branches or pull requests

1 participant