menu
#4550546 Argument 1 passed to core\Nexus::decodeInventory() must be of the type string, null given

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Direct
Report date: 2020-09-26 21:34:41 +0000 UTC

System Information

PHP version: 7.3.20
Operating system: linux
System banner: Linux ns556347 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64

Error information

Warning: the NexusOPFactions plugin was directly involved in this crash. Please contact the plugin author.
Message: Argument 1 passed to core\Nexus::decodeInventory() must be of the type string, null given
File: plugins/NexusFaction.phar/src/core/Nexus
Line: #280
Error level: TypeError
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
            new ListTag("Items", $items)
]));
}

/**
* @param string $compression
*
* @return Item[]
*/
public static function decodeInventory(string $compression): array {
if(empty($compression)) {
return [];
}
$tag = self::$nbtWriter->readCompressed($compression);
if(!$tag instanceof CompoundTag) {
throw new PluginException("Expected a CompoundTag, got " . get_class($tag));
}
$items = $tag->getListTag("Items");
$content = [];
/** @var CompoundTag $item */
#0 plugins/NexusFaction.phar/src/core/NexusPlayer(389): core\Nexus::decodeInventory(NULL )
#1 plugins/NexusFaction.phar/src/core/provider/thread/MySQLThread(155): core\NexusPlayer->core\{closure}(array[1])
#2 plugins/NexusFaction.phar/src/core/provider/task/ReadResultsTask(33): core\provider\thread\MySQLThread->checkResults()
#3 src/pocketmine/scheduler/TaskHandler(137): core\provider\task\ReadResultsTask->onRun(integer 47782)
#4 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 47782)
#5 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 47782)
#6 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 47782)
#7 src/pocketmine/Server(2154): pocketmine\Server->tick()
#8 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1588): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[24] /home/servers/opfaction/, string[32] /home/servers/opfaction/plugins/)
#11 src/pocketmine/PocketMine(304): pocketmine\server()
#12 (11): require(string[79] phar:///home/servers/opfaction/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies