Webador / sendcloud

Provides a PHP client to interact with the SendCloud API in an object-oriented way.
MIT License
16 stars 15 forks source link

Uncaught Error: Class 'JouwWeb\SendCloud\Client' not found in /var/www/html/shipping/sendcloud/index.php:11 #16

Closed usmanzia7864561 closed 3 years ago

usmanzia7864561 commented 3 years ago

Uncaught Error: Class 'JouwWeb\SendCloud\Client' not found in /var/www/html/shipping/sendcloud/index.php:11

villermen commented 3 years ago

@usmanzia7864561 What code is triggering this error? It's hard to judge your error based only on the (to me) unknown file it occurs in.

If you're using the Composer package (jouwweb/sendcloud) its autoloading should allow you to import the class using something similar to:

use JouwWeb\SendCloud\Client;

$client = new Client(...);
usmanzia7864561 commented 3 years ago

Thanks Its resolved.