aweber / public-api-examples

Repository containing examples for api.aweber.com
BSD 3-Clause "New" or "Revised" License
22 stars 42 forks source link

GenericProvider not found. #32

Closed xamarkanonymous closed 5 years ago

xamarkanonymous commented 5 years ago

I keep getting PHP Fatal error: Class 'League\Oauth2\Client\Provider\GenericProvider' not found on line 34. Right after I enter the secret key, it gets fatal error. Cannot find the GenericProvider, although league/oauth2-client is installed via Composer.

KMChappell commented 5 years ago

I am currently unable to replicate this issue. Can you make sure you have fetched any recent changes from the repository and run a fresh composer install?

You might also make sure Composer isn't set to install things in an unexpected location. By default the dependencies should be put in a vendor/autoload.php file so if that file isn't where we expect the script won't be able to find the library.

cknave commented 5 years ago

Closing: unable to replicate

TrinityLife commented 3 years ago

Try running...

composer update

in your command prompt. It may be that your .lock file is out of date.