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

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Direct
Report date: 2019-05-15 20:37:25 +0000 UTC

System Information

PHP version: 7.2.8
Operating system: linux
System banner: Linux ba65e5685004 4.9.144-xxxx-std-ipv6-64 #494761 SMP Mon Dec 10 14:02:48 UTC 2018 x86_64

Error information

Warning: the BuildUHC 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/BuildUHC/src/Muhammed0232/BUHC/EventListener
Line: #3
Error level: E_COMPILE_ERROR
1
2
3
4
5
6
7
8
9
10
11
12
13

<?php
namespace Muhammed0232\BUHC;
use pocketmine\event\Listener;
use pocketmine\utils\Config;
use pocketmine\event\player\PlayerDeathEvent;
use pocketmine\event\player\PlayerInteractEvent;
class EventListener implements Listener{
/* __construct */
public function __construct(Base $plugin){
$this->p = $plugin;
}
/* events */

Loaded Plugins

  • Show

Server Settings

  • Show