You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The last line return json_decode($result); should be return json_decode($result->getBody()->getContents()); (it is like that in 2.6.0 but not in 2.5.2).
Can this be fixed please in 2.5.2? Or any advice if I'm doing something wrong? Thanks!
The text was updated successfully, but these errors were encountered:
Hi, I'm using version 2.5.2 since we are running on PHP 7.4.
I ran into this issue - when I do a query on a none "id" field, it fails, for example like this:
The error it throws is:
This is working in a PHP 8 codebase with version 2.6.0 if I use the same query.
In 2.5.2. it is specifically failing on this line (line 265) in
CosmosDb.php
:The last line
return json_decode($result);
should bereturn json_decode($result->getBody()->getContents());
(it is like that in 2.6.0 but not in 2.5.2).Can this be fixed please in 2.5.2? Or any advice if I'm doing something wrong? Thanks!
The text was updated successfully, but these errors were encountered: