Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin crashes server after upgrading to PHP 7.4 #76

Open
stefan131 opened this issue May 8, 2021 · 0 comments
Open

Plugin crashes server after upgrading to PHP 7.4 #76

stefan131 opened this issue May 8, 2021 · 0 comments

Comments

@stefan131
Copy link

After my host upgraded PHP to version 7.4 the server does start up with this plugin anymore.
I got the following exception:

08.05 12:56:07 [Server] INFO Loading MapImageEngine v1.1.3 08.05 12:56:07 [Server] CRITICAL ErrorException: "Array and string offset access syntax with curly braces is deprecated" (EXCEPTION) in "plugins/MapImageEngine.phar/src/FaigerSYS/MapImageEngine/MapImageEngine" at line 64 08.05 12:56:07 [Server] CRITICAL #0 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(138): pocketmine\utils\Utils::errorExceptionHandler(integer 8192, string[69] Array and string offset access syntax with curly braces is deprecated, string[130] phar:///plugins/MapImageEngine.ph, integer 64, array[2]) 08.05 12:56:07 [Server] CRITICAL #1 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(138): include() 08.05 12:56:07 [Server] CRITICAL #2 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(124): BaseClassLoader->loadClass(string[39] FaigerSYS\MapImageEngine\MapImageEngine) 08.05 12:56:07 [Server] CRITICAL #3 (): BaseClassLoader->{closure}(string[39] FaigerSYS\MapImageEngine\MapImageEngine) 08.05 12:56:07 [Server] CRITICAL #4 (): spl_autoload_call(string[39] FaigerSYS\MapImageEngine\MapImageEngine) 08.05 12:56:07 [Server] CRITICAL #5 pmsrc/src/pocketmine/plugin/PluginManager(167): class_exists(string[39] FaigerSYS\MapImageEngine\MapImageEngine, boolean 1) 08.05 12:56:07 [Server] CRITICAL #6 pmsrc/src/pocketmine/plugin/PluginManager(346): pocketmine\plugin\PluginManager->loadPlugin(string[75] /plugins/MapImageEngine.phar, array[2]) 08.05 12:56:07 [Server] CRITICAL #7 pmsrc/src/pocketmine/Server(1529): pocketmine\plugin\PluginManager->loadPlugins(string[56] /plugins/) 08.05 12:56:07 [Server] CRITICAL #8 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[48] /, string[56] /plugins/) 08.05 12:56:07 [Server] CRITICAL #9 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server() 08.05 12:56:07 [Server] CRITICAL #10 pmsrc(11): require(string[103] phar:///PocketMine-MP.phar/src/po) 08.05 12:56:07 [Server] EMERGENCY An unrecoverable error has occurred and the server has crashed. Creating a crash dump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant