Update to PHP 7.4
dadodasyra opened this issue · 2 comments
dadodasyra commented
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
- Open server with php bin on 7.4
- 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
dadodasyra commented
My bad it's an Libasyncql error
dadodasyra commented
Okay you just have to update Libasynql, it has been updated