Closed danicodeRO closed 4 years ago
I have downloaded the source code, and the error is here:
at Bukimedia.PrestaSharp.Deserializers.PrestaSharpDeserializer.CreateAndMap(Type t, XElement element) in E:\temp\PrestaSharp-master\PrestaSharp\Deserializers\PrestaSharpDeserializer.cs:line 378 at Bukimedia.PrestaSharp.Deserializers.PrestaSharpDeserializer.PopulateListFromElements(Type t, IEnumerable`1 elements, IList list) in E:\temp\PrestaSharp-master\PrestaSharp\Deserializers\PrestaSharpDeserializer.cs:line 282
I have installed PrestaSharp.Extended and it fixed the errors. Hope it helps others..
Library Version:
1.1.0 RestSharp: 106.11.4
Prestashop version:
1.6.1.23
Describe the Bug:
When I tried to download the orders, now I get the error:
System.ArgumentNullException: 'Value cannot be null. Parameter name: source'
To Reproduce: The code on the guide, my code is in Vb.Net. It worked, but I think is because of updates.
Stack trace: at System.Linq.Enumerable.Where[TSource](IEnumerable
1 source, Func
2 predicate) at Bukimedia.PrestaSharp.Factories.GenericFactory1.GetIdsByFilter(Dictionary
2 Filter, String Sort, String Limit) at Gestiune.PrestaShop.verificaComenzi(String user, String parola, Int32 IdMagazin, DateTime dataInceput, DateTime dataSfarsit)