davidtsadler / ebay-sdk-examples

Several examples of using the eBay SDK for PHP
http://devbay.net
Apache License 2.0
184 stars 100 forks source link

Exception: Call to undefined function DTS\eBaySDK\applyDebug() #44

Closed Kaesar83 closed 7 years ago

Kaesar83 commented 7 years ago

An uncaught Exception was encountered Type: Error Message: Call to undefined function DTS\eBaySDK\applyDebug() Filename: >C:\xampp\htdocs\test\application\third_party\ebaysdk\DTS\eBaySDK\ConfigurationResolver.php Line Number: 59 Backtrace: File: >C:\xampp\htdocs\test\application\third_party\ebaysdk\DTS\eBaySDK\Services\BaseRestService.php Line: 53 Function: resolve

File: >C:\xampp\htdocs\test\application\third_party\ebaysdk\DTS\eBaySDK\Inventory\Services\InventoryBaseService.php Line: 32 Function: __construct

File: >C:\xampp\htdocs\test\application\third_party\ebaysdk\DTS\eBaySDK\Inventory\Services\InventoryService.php Line: 314 Function: __construct

File: C:\xampp\htdocs\test\application\models\EbayModel.php Line: 680 Function: __construct

File: C:\xampp\htdocs\test\application\controllers\Ebay.php Line: 32 Function: loadOnEbay

I have the error above. This happens when it's called the code below, as explained in the Create or replace inventory item example

`/**

Could you help me?

Thanks in advance

Kaesar83 commented 7 years ago

OK, I solved it. :)

Missed including ebay-sdk-php-autoloader.php file.

Thank you

davidtsadler commented 7 years ago

Thank you for the update. Was going to look into this today so you've saved me some time :)