You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal error: Uncaught Error: Class 'PagarmeApiSDKClientBuilder' not found in /var/www/html/testing_pagarme_client.php:4 Stack trace: #0 {main} thrown in /var/www/html/testing_pagarme_client.php on line 4
This means it will load PagarmeApiSDKLib namespace from the src folder.
Inside the folder that contains src, vendor and the composer.json file, you should run:
composer dump-autoload
In your code, you will then be able to add a use statement including PagarmeApiSDKLib\PagarmeApiSDKClientBuilder symbol or just call it using it's fully qualified class name, like in the following sample:
Fatal error: Uncaught Error: Class 'PagarmeApiSDKClientBuilder' not found in /var/www/html/testing_pagarme_client.php:4 Stack trace: #0 {main} thrown in /var/www/html/testing_pagarme_client.php on line 4
The text was updated successfully, but these errors were encountered: