Mineflow icon indicating copy to clipboard operation
Mineflow copied to clipboard

[Bug]

Open ricky074game opened this issue 3 years ago • 2 comments

What happened?

I started the server while updating to the latest dev release:

Steps to reproduce

No response

Crash dump

TypeError: "aieuo\mineflow\variable\Variable::create(): Argument #2 ($type) must be of type int, string given, called in phar://C:/Users/ricky/Desktop/Codes/Server/plugins/Mineflow_dev-271.phar/src/aieuo/mineflow/variable/Variable.php on line 48" (EXCEPTION) in "plugins/Mineflow_dev-271.phar/src/aieuo/mineflow/variable/Variable" at line 24
--- Stack trace ---
  #0 plugins/Mineflow_dev-271.phar/src/aieuo/mineflow/variable/Variable(48): aieuo\mineflow\variable\Variable::create(array[0], string[4] list)
  #1 plugins/Mineflow_dev-271.phar/src/aieuo/mineflow/variable/VariableHelper(35): aieuo\mineflow\variable\Variable::fromArray(array[2])
  #2 plugins/Mineflow_dev-271.phar/src/aieuo/mineflow/Main(86): aieuo\mineflow\variable\VariableHelper->__construct(object pocketmine\utils\Config#28024)
  #3 pmsrc/src/plugin/PluginBase(137): aieuo\mineflow\Main->onEnable()
  #4 pmsrc/src/plugin/PluginManager(445): pocketmine\plugin\PluginBase->onEnableStateChange(true)
  #5 pmsrc/src/Server(1386): pocketmine\plugin\PluginManager->enablePlugin(object aieuo\mineflow\Main#24950)
  #6 pmsrc/src/Server(1012): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#24898)
  #7 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[36] C:\Users\ricky\Desktop\Codes\Server\, string[44] C:\Users\ricky\Desktop\Codes\Server\plugins\)
  #8 pmsrc/src/PocketMine(327): pocketmine\server()
  #9 pmsrc(11): require(string[80] phar://C:/Users/ricky/Desktop/Codes/Server/PocketMine-MP.phar/src/PocketMine.php)
--- End of exception information ---

Plugin Version

v2.9.1

Server Version

4.3.1

PHP Version

8.0

Server OS

Windows

Additional Information

No response

ricky074game avatar May 06 '22 20:05 ricky074game

you know what makes it right? it is still DEV VERSION and some builds are NOT WORKING TO USE

mukeenanyafiq avatar May 07 '22 22:05 mukeenanyafiq

but hey, atleast you give a bug report of what happened

mukeenanyafiq avatar May 07 '22 22:05 mukeenanyafiq