Wednesday, June 24, 2015

Webservice not working if PrestaShop Developer Mode set to on

I recently encountered a very strange error my Web Services  were not working when developer mode is on. To enable error reports you can follow this link. After a lot of struggle I found out there was a bug listed under PrestaShop Forge portal stating Can't read orders with web service.

As per PrestaShop Portal there was a bug listed Can't read orders with web service to rectify it:
change classes/order/Order.php (line 2092) from
        public function getWsCurrentState($state)
        {
                return $this->getCurrentState();
        }
to
        public function getWsCurrentState()
        {
                return $this->getCurrentState();
        }

1 comment:

  1. Thanks for sharing such a informative post with us, do viist us for more details about
    PRESTASHOP DEVELOPMENT Company India

    ReplyDelete