Back

Unable to call Queries in PHP 8.3

  • 0
  • Databases
ideclon
4 Apr, 2024, 22:34

When I call any query method, I get the following error:

TypeScript
Deprecated: Return type of Appwrite\Query::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

My code is as follows:

TypeScript
var_dump(Query::equal("demo-attribute", "demo value"));

I'm using SDK version 11.0.0

TL;DR
null
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more