Laith98Dev / PluginManager

Its Advanced PluginManager for Pocketmine which let you manage the plugins on your server
GNU General Public License v3.0
5 stars 1 forks source link

Error when trying to download a plugin #2

Closed ItzxDwi closed 1 year ago

ItzxDwi commented 1 year ago

PocketMine-MP Version: 5.0.0

Crashdump:

[Server thread/CRITICAL]: ErrorException: "json_decode(): Passing null to parameter #1 ($json) of type string is deprecated" (EXCEPTION) in "plugins/PluginManager_dev-14.phar/src/Laith98Dev/PluginManager/tasks/GetPluginDataTask" at line 78
--- Stack trace ---
  #0 (): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 8192, string[80] json_decode(): Passing null to parameter #1 ($json) of type string is deprecated, string[137] phar:///data/data/com.termux/files/home/server/plugins/PluginManager_dev-14.phar, int 78)
  #1 plugins/PluginManager_dev-14.phar/src/Laith98Dev/PluginManager/tasks/GetPluginDataTask(78): json_decode(null, true)
  #2 pmsrc/src/scheduler/AsyncPool(248): Laith98Dev\PluginManager\tasks\GetPluginDataTask->onCompletion()
  #3 pmsrc/src/scheduler/AsyncPool(124): pocketmine\scheduler\AsyncPool->collectTasksFromWorker(int 0)
  #4 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\scheduler\AsyncPool->pocketmine\scheduler\{closure}()
  #5 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\snooze\SleeperHandler->processNotifications()
  #6 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()
  #7 pmsrc/src/Server(1688): pocketmine\snooze\SleeperHandler->sleepUntil(float 1685783729.157)
  #8 pmsrc/src/Server(1076): pocketmine\Server->tickProcessor()
  #9 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#4, string[40] /data/data/com.termux/files/home/server/, string[48] /data/data/com.termux/files/home/server/plugins/)
  #10 pmsrc/src/PocketMine(357): pocketmine\server()
  #11 pmsrc(11): require(string[84] phar:///data/data/com.termux/files/home/server/PocketMine-MP.phar/src/PocketMine)
--- End of exception information ---
[09:15:29.148] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
[09:15:29.176] [Server thread/EMERGENCY]: Please upload the "/data/data/com.termux/files/home/server/crashdumps/Sat_Jun_3-09.15.29-UTC_2023.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
[09:15:29.177] [Server thread/EMERGENCY]: Forcing server shutdown
ItzxDwi commented 1 year ago

@Laith98Dev

Laith98Dev commented 1 year ago

It will be fixed as soon as possible. Thanks!

Laith98Dev commented 1 year ago

Fixed, now i'm watting FormsUI to merage my pull requet for add support for pm5