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

Add item with multiple variations… reports error #3

Closed matteoferigo closed 9 years ago

matteoferigo commented 9 years ago

Hi, I'm trying this awesome SDK, I run various scripts (for listing and adding items) and it works perfect… but when I'm running trading/06-add-an-item-with-multiple-variations.php at line 146 it breaks with this error [the code is untouched]: Invalid property type: DTS\eBaySDK\Trading\Types\VariationType::VariationSpecifics expected <DTS\eBaySDK\Types\UnboundType>, got <DTS\eBaySDK\Trading\Types\NameValueListArrayType>

Where am I wrong?

matteoferigo commented 9 years ago

Ok, I solved. The file that I downloaded from composer had the attribute 'unbound' set to true in VariationType.php [105], now i set it to false... and it works.