binshops / prestashop-rest

PrestaShop REST API module to expose your PrestaShop website's REST endpoints
https://www.binshops.com/prestashop-api
Academic Free License v3.0
95 stars 33 forks source link

500 error on productSearch #13

Closed david8z closed 2 years ago

david8z commented 2 years ago

I'm getting 500 errors on productSearch is this an expected behaviour?

david8z commented 2 years ago

Actually just realized it also returns 500 error with rest/bootstrap

david8z commented 2 years ago

After debugging a bit I found out it is failing at this point any idea how I could debug more or why it could be happening? https://github.com/binshops/prestashop-rest/blob/0b10acf6bdab64d682ea1116f45fc58ba33745ea/classes/RESTProductLazyArray.php#L152-L155

samberrry commented 2 years ago

thanks for reporting. What's your Ps version?

david8z commented 2 years ago

Thanks for the response current PS version 1.7.6.2 and PHP version 7.2.34

samberrry commented 2 years ago

Thank you too. That's why you got error, the module support Ps1.7.7.x and higher version, the older version are not supported. But there is a branch 1.7.6.x, but is not maintained. Thanks you David.