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

Submitted by PocketMine-MP 3.22.0

General information

Version: 3.22.0
Git commit: c32c2146
Plugin involvement: Direct
Report date: 2021-07-22 06:43:19 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 7.4.21
Operating system: linux
System banner: Linux 323004c8-f457-44ed-91ae-6b225ec42f24 4.15.0-144-generic #148-Ubuntu SMP Sat May 8 02:33:43 UTC 2021 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/RewardBox/src/ash/main
Line: #3
Error level: E_COMPILE_ERROR
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

namespace ash;

use ash\Commands\reward;
use pocketmine\event\Listener;
use pocketmine\plugin\PluginBase;
use pocketmine\utils\Config;
use muqsit\InvMenu\InvMenu;
use muqsit\InvMenu\InvMenuMandler;

class main extends PluginBase implements Listener{

Loaded Plugins

  • Show

Server Settings

  • Show