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

f chat causes server internal error, click this for more info about it #97

Open
codylxrkin opened this issue Jan 28, 2021 · 2 comments
Open

Comments

@codylxrkin
Copy link

PLEASE FIX, THANK YOU

[22:29:15] [Server thread/CRITICAL]: TypeError: "Incorrect type of element at "3": Argument 1 passed to pocketmine\event\player\PlayerChatEvent::pocketmine\event\player{closure}() must implement interface pocketmine\command\CommandSender, instance of BlockHorizons\FactionsPE\entity\FConsole given, called in phar:///home/minecraft/pocketmine.phar/src/pocketmine/utils/Utils.php on line 706" (EXCEPTION) in "pmsrc/src/pocketmine/utils/Utils" at line 708

[22:29:15] [Server thread/CRITICAL]: #0 pmsrc/src/pocketmine/event/player/PlayerChatEvent(101): pocketmine\utils\Utils::validateArrayValueType(array[4], object Closure)

[22:29:15] [Server thread/CRITICAL]: #1 plugins/FactionsPE.phar/src/BlockHorizons/FactionsPE/engine/ChatEngine(54): pocketmine\event\player\PlayerChatEvent->setRecipients(array[4])

[22:29:15] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): BlockHorizons\FactionsPE\engine\ChatEngine->onChat(object pocketmine\event\player\PlayerChatEvent)

[22:29:15] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object BlockHorizons\FactionsPE\engine\ChatEngine, object pocketmine\event\player\PlayerChatEvent)

@Dqfault
Copy link

Dqfault commented Jun 2, 2021

PLEASE FIX, THANK YOU

[22:29:15] [Server thread/CRITICAL]: TypeError: "Incorrect type of element at "3": Argument 1 passed to pocketmine\event\player\PlayerChatEvent::pocketmine\event\player{closure}() must implement interface pocketmine\command\CommandSender, instance of BlockHorizons\FactionsPE\entity\FConsole given, called in phar:///home/minecraft/pocketmine.phar/src/pocketmine/utils/Utils.php on line 706" (EXCEPTION) in "pmsrc/src/pocketmine/utils/Utils" at line 708

[22:29:15] [Server thread/CRITICAL]: #0 pmsrc/src/pocketmine/event/player/PlayerChatEvent(101): pocketmine\utils\Utils::validateArrayValueType(array[4], object Closure)

[22:29:15] [Server thread/CRITICAL]: #1 plugins/FactionsPE.phar/src/BlockHorizons/FactionsPE/engine/ChatEngine(54): pocketmine\event\player\PlayerChatEvent->setRecipients(array[4])

[22:29:15] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): BlockHorizons\FactionsPE\engine\ChatEngine->onChat(object pocketmine\event\player\PlayerChatEvent)

[22:29:15] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object BlockHorizons\FactionsPE\engine\ChatEngine, object pocketmine\event\player\PlayerChatEvent)

Are you using PureChat?

@Kris-Driv
Copy link
Contributor

Maybe, one day I will.

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

3 participants