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

Submitted by PocketMine-MP 3.8.6

General information

Version: 3.8.6
Git commit: 1bfd6f2a
Plugin involvement: Direct
Report date: 2019-07-11 20:31:28 +0000 UTC

System Information

PHP version: 7.2.19
Operating system: linux
System banner: Linux 22f9ca7b-64fc-400c-9d13-b7dd3956686e 4.15.0-29-generic #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04 UTC 2018 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/Farm/src/sinoria/farm/Main
Line: #3
Error level: E_COMPILE_ERROR
1
2
3
4
5
6
7
8
9
10
11
12
13
 <?php

namespace sinoria\farm;

use pocketmine\plugin\PluginBase;
use pocketmine\event\Listener;
use pocketmine\event\block\BlockBreakEvent;
use pocketmine\level\Position;
use pocketmine\Player;

class Main extends PluginBase implements Listener{

public function onEnable(){

Loaded Plugins

  • Show

Server Settings

  • Show