menu
#4775568 Namespace declaration statement has to be the very first statement or after any declare call in the script

Submitted by PocketMine-MP 3.17.4

General information

Version: 3.17.4
Git commit: 2e9117d1
Plugin involvement: Direct
Report date: 2021-02-23 10:16:50 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 7.3.21
Operating system: linux
System banner: Linux 4705 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Namespace declaration statement has to be the very first statement or after any declare call in the script
File: plugins/NDS_GeldSystem/src/onebone/economyapi/EconomyAPI
Line: #3
Error level: E_COMPILE_ERROR
1
2
3
4
5
6
7
8
9
10
11
12
13
 <?php

namespace onebone\economyapi;

use pocketmine\{Player, Server};
use pocketmine\command\{Command, CommandSender};
use pocketmine\plugin\PluginBase;
use pocketmine\event\Listener;
use pocketmine\event\player\PlayerJoinEvent;
use pocketmine\utils\Config;
use pocketmine\utils\Utils;
use pocketmine\utils\TextFormat;

Loaded Plugins

  • Show

Server Settings

  • Show