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

libs problem #17

Closed
LordFit opened this issue Aug 21, 2023 · 5 comments
Closed

libs problem #17

LordFit opened this issue Aug 21, 2023 · 5 comments

Comments

@LordFit
Copy link

LordFit commented Aug 21, 2023

Fatal error: Declaration of Hebbinkpro\MagicCrates\libs\CortexPE\Commando\args\TargetPlayerArgument::parse(string $argument, pocketmine\command\CommandSender $sender) must be compatible with Hebbinkpro\MagicCrates\libs\CortexPE\Commando\args\BaseArgument::parse(string $argument, pocketmine\command\CommandSender $sender): mixed in phar:///root/plugins/MagicCrates_dev-43.phar/src/Hebbinkpro/MagicCrates/libs/CortexPE/Commando/args/TargetPlayerArgument.php on line 31
[12:03:06.284] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
[12:03:06.286] [Server thread/CRITICAL]: TypeError: "Cannot assign null to property pocketmine\crash\CrashDumpData::$thread of type string" (EXCEPTION) in "pmsrc/src/crash/CrashDump" at line 237
--- Stack trace ---
  #0 pmsrc/src/crash/CrashDump(101): pocketmine\crash\CrashDump->baseCrash()
  #1 pmsrc/src/Server(1592): pocketmine\crash\CrashDump->__construct(object pocketmine\Server#13, object pocketmine\plugin\PluginManager#44063)
  #2 (): pocketmine\Server->crashDump()

any idea for this problem? sorry i don't understand.

@Hebbinkpro
Copy link
Owner

When did this error occur? On server startup or when you executed a command?

@LordFit
Copy link
Author

LordFit commented Aug 21, 2023

startup

@Hebbinkpro
Copy link
Owner

I will look into this issue.
Which version of PMMP and php are you using?

@LordFit
Copy link
Author

LordFit commented Aug 21, 2023

v5.4.2 , php 8.1

@Hebbinkpro
Copy link
Owner

I've fixed the issue, there was a problem with the Commando library.
You can download the fixed version (dev 44) here.

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

2 participants