pmmp / PocketMine-MP

A server software for Minecraft: Bedrock Edition in PHP
https://pmmp.io
GNU Lesser General Public License v3.0
3.27k stars 1.55k forks source link

ParseError: "syntax error, unexpected end of file, expecting function (T_FUNCTION)" (EXCEPTION) in "src/pocketmine/event/server/ServerCommandEvent" at line 76 #1269

Closed totor29 closed 7 years ago

totor29 commented 7 years ago

Issue description

Server Crash no crashdump found 0/50 Players online

ParseError: "syntax error, unexpected end of file, expecting function (T_FUNCTION)" (EXCEPTION) in "src/pocketmine/event/server/ServerCommandEvent" at line 76

Steps to reproduce the issue

unknown

OS and versions

Plugins

PurePerms 1.4.1-dev2; BlockPets 1.1.0; AllSigns 1.0.2; ItemCasePE 1.1.0-dev1; FactionsProBeta 1.4.4-dev2; KillMoney 1.1.2; EconomyAPI 5.7.1-dev2; CrateKeys 1.0.0; AlwaysSpawn 2.2.3-dev1; Jail 1.1.6; SimpleAuth 2.0.0-alpha7; SimpleAuthHelper 2.0.5-dev1; HotBlock 1.0.3; PiggyCustomEnchants 1.0.2; essentialsTP 1.2.0-dev1; ChatToDiscord 1.1.0; iProtector 4.0.1#3.1b; Parkour 1.5.3

Crashdump, backtrace or other files

2017-08-04 [02:00:05] [Server thread/CRITICAL]: ParseError: "syntax error, unexpected end of file, expecting function (T_FUNCTION)" (EXCEPTION) in "src/pocketmine/event/server/ServerCommandEvent" at line 76 2017-08-04 [02:00:05] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump 2017-08-04 [02:00:05] [Server thread/CRITICAL]: ParseError: "syntax error, unexpected end of file, expecting function (T_FUNCTION)" (EXCEPTION) in "src/pocketmine/CrashDump" at line 260 2017-08-04 [02:00:05] [Server thread/CRITICAL]: Could not create crash dump: syntax error, unexpected end of file, expecting function (T_FUNCTION)

SOF3 commented 7 years ago

You are using a corrupted build.

totor29 commented 7 years ago

do you think is the map corrupted ? or Pocketmine.phar or Plugin.phar ? Thanks,

totor29 commented 7 years ago

@TheDiamondYT1 thanks, and how to solve corrupted maps ?

TheDiamondYT1 commented 7 years ago

@totor29 I meant it's not the map, it's the phar. Download from Poggit or Jenkins.

I was basically being sarcastic