Jump to content
thirty bees forum

Sendcloud issue


Baarssen

Recommended Posts

My Sendcloud module suddenly stops working on all my thirtybees shops.

When executing the webservice i get this:

<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
<errors>
<error>
<code>
<![CDATA[ 3 ]]>
</code>
<message>
<![CDATA[
 count(): Parameter must be an array or an object that implements Countable (/home/xxxx/domains/xxxxx.xx/public_html/classes/webservice/WebserviceRequest.php, line 927)
												

												
]]>
</message>
</error>
</errors>
</prestashop>
 
Is there something changed in thirtybees webservice? It happens on all my TB shops, even the fresh installs of 1.08
 
Line 927 and 928 says this:
        if (count(static::$shopIDs)) {
            return true;
Edited by Baarssen
Link to comment
Share on other sites

  • 9 months later...

Hello,

Is this problem planned for fixing?

A similar issue is happening when using the api with JSON output.

Request: http://xxxxxxx/api/products?output_format=JSON
Response: 
 

{"products":[{"id":1},{"id":2},{"id":3},{"id":4},{"id":5},{"id":6},{"id":7},{"id":8}],"errors":[{"code":3,"message":"[PHP Warning #2] count(): Parameter must be an array or an object that implements Countable (C:\\xampp\\htdocs\\thirtybees\\classes\\webservice\\WebserviceOutputJSON.php, line 251)"}]}


I have TB 1.1.0 and PHP 7.4

Edited by roks
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...