IvanCraft623 / RankSystem

An amazing Rank and Permissions Manager. The best ranks manager for PocketMine-MP.
Apache License 2.0
42 stars 16 forks source link

Error #36

Closed ImDev68 closed 1 year ago

ImDev68 commented 1 year ago

Actualiza el plugin a la versión más actual pues da este error IvanCraft623\RankSystem\libs\poggit\libasynql\generic\GenericStatementImpl::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/container/plugins/Ranks/src/IvanCraft623/RankSystem/libs/poggit/libasynql/generic/GenericStatementImpl.php:233

public function jsonSerialize(){ return [ "name" => $this->name, "query" => $this->query, "doc" => $this->doc, "variables" => $this->variables, "file" => $this->file, "lineNo" => $this->lineNo, ];

sulimanzeen commented 1 year ago

i think it's because of PHP 8.1 update. for this plugin. since now Pocketmine requires PHP 8.1

Error only happens if your using mysql

IvanCraft623 commented 1 year ago

Fixed by f0908ec5b2079b84852571adf2ac651107de0045