DaPigGuy/PiggyFactions

Update to PHP 7.4

dadodasyra opened this issue · 2 comments

Please make sure your issue complies with these guidelines:

    • Server Software must be the official PMMP w/o vanilla patching plugins (i.e. TeaSpoon)
    • Issue must have not been reported previously
    • Make sure you are on the latest version of PMMP & PiggyFactions
    • Have a detailed title.

Issue Description

  • Expected result: That the plugin is simply launched
  • Actual result: It crashes on launch concerning the removal of the possibility of using {} in an array in php 7.4

Steps to Reproduce the Issue

  1. Open server with php bin on 7.4
  2. PiggyFactions crash

OS and Versions

  • PocketMine-MP: Last
  • PiggyFactions: Last
  • PHP: 7.4
  • Server OS: Debian

Extra Information

Just replace all {} with []
[12:45:24] [Server thread/CRITICAL]: ErrorException: "Array and string offset access syntax with curly braces is deprecated" (EXCEPTION) in "plugins/PiggyFactions/src/DaPigGuy/PiggyFactions/libs/poggit/libasynql/libasynql" at line 153

My bad it's an Libasyncql error

Okay you just have to update Libasynql, it has been updated