Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

namespace error cause crash how to resolve?

Comments in 'Plugin Development' started by Svile, Oct 29, 2015.

Thread Status:
Not open for further replies.
  1. Svile
    Offline

    Svile Active Member

    Joined:
    Mar 30, 2015
    Posts:
    239
    Minecraft User:
    svile
    The CrashDump :

    PHP:
    PocketMine-MP Crash Dump Thu Oct 29 15:01:56 AZOT 2015

    Error: Namespace declaration statement has to be the very first statement in the script
    File: /prova/src/svile/main
    Line: 4
    Type: E_COMPILE_ERROR

    THIS CRASH WAS CAUSED BY A PLUGIN

    Code:
    [1] ï»¿<?php
    [2]
    [
    3]
    [
    4] namespace svile;
    [
    5]
    [
    6] use pocketmine\plugin\PluginBase;
    [
    7] use pocketmine\command\CommandExecutor;
    [
    8] use pocketmine\command\CommandSender;
    [
    9] use pocketmine\command\Command;
    [
    10] use pocketmine\Player;
    [
    11] use pocketmine\utils\Config;
    [
    12] use pocketmine\nbt\NBT;
    [
    13] use pocketmine\nbt\tag\Compound;
    [
    14] use pocketmine\math\Vector3;

    Backtrace:
    #0 /src/pocketmine/Server__32bit(0): pocketmine\Server->crashDump(boolean)
    #1 /DevTools_v1.10.0.phar/src/FolderPluginLoader/FolderPluginLoader(64): BaseClassLoader->loadClass(boolean)
    #2 /DevTools_v1.10.0.phar/src/FolderPluginLoader/FolderPluginLoader(64): spl_autoload_call(boolean)
    #3 /DevTools_v1.10.0.phar/src/FolderPluginLoader/FolderPluginLoader(64): class_exists(boolean)
    #4 /src/pocketmine/plugin/PluginManager(152): FolderPluginLoader\FolderPluginLoader->loadPlugin(boolean)
    #5 /src/pocketmine/plugin/PluginManager(296): pocketmine\plugin\PluginManager->loadPlugin(boolean)
    #6 /DevTools_v1.10.0.phar/src/DevTools/DevTools(45): pocketmine\plugin\PluginManager->loadPlugins(boolean)
    #7 /src/pocketmine/plugin/PluginBase(86): DevTools\DevTools->onEnable(boolean)
    #8 /src/pocketmine/plugin/PharPluginLoader(123): pocketmine\plugin\PluginBase->setEnabled(boolean)
    #9 /src/pocketmine/plugin/PluginManager(562): pocketmine\plugin\PharPluginLoader->enablePlugin(boolean)
    #10 /src/pocketmine/Server__32bit(1895): pocketmine\plugin\PluginManager->enablePlugin(boolean)
    #11 /src/pocketmine/Server__32bit(1881): pocketmine\Server->enablePlugin(boolean)
    #12 /src/pocketmine/Server__32bit(1637): pocketmine\Server->enablePlugins(boolean)
    #13 /src/pocketmine/PocketMine(464): pocketmine\Server->__construct(boolean)
    #14 (1): (boolean)
    #15 (0): {main}(boolean)

    PocketMine-MP version1.6dev #48 [Protocol 34; API 1.13.0]
    Git commit0000000000000000000000000000000000000000
    uname 
    -aWindows NT DESKTOP-MNP68TK 6.2 build 9200 (Windows 8 Business Editioni586
    PHP Version
    5.6.6
    Zend version
    2.6.0
    OS 
    WINNTwin

    Loaded plugins
    :
    DevTools 1.10.0 by PocketMine Team for API(s1.3.1

    ----------------------REPORT THE DATA BELOW THIS LINE-----------------------

    ===
    BEGIN CRASH DUMP===
    eNrNWntv20a2/yoDZYE6C1EW9bKsXGfhJk4bbGJrY2V771YLYUgOJa75Koe0rBb57vs7Z4YUZctp
    7r39Y40AImfOnPdzmN86ZZSozswdjSbucDR2J92OKoqs6Mx
    +65S7HFudq9Wbm4/z9x+uVlefPt18
    6nQ7idJarmnvWuI5l74SgfJjWcgyylKhS1mqRKWl2Egtykx4SpQbJe5VsRNhVOiyBRKlvKf9IspL
    IA
    +jmDCf6ns8rH784VQX/ulmbd5Pf/whkVEKsDhKATb60u3kcbXG0qwsKtXt+FmgiHkXOJZVqMLw
    v
    /6Sb3KcGBDW0x+rdK0K8QMxLsxR8f3/CMYOoCGA8DPCT9rItlkvlwzwCltjAzHBT6WVyDP/TpUJ
    uFkuDbrlcs6
    /30vNB86OQPpZksg0WC7fmIerB+VXZVYQ/PQb4G9VGiiGPv8GaIJz+0cA57HcGTSu
    e2S7KqNYE5Y0jNYMNTgClXrlcnn9
    /YIBhs8BlHLN/ORZZRkaHQFNZLlZLv+ufOhi+KoD65YFLNCZ
    /dx50RfsCnvw01tVwKVWq+HAi8qT/svZAS6z67z2C6k3b6skP/GyLFYyfQnqL1xx+lbdL7CiV/du
    z
    +33+r18Iwum8S6LoV5jxg+ZxPORpZPJCBTJym9iqbVZdF7H+OWFA3KDP4iczuOVhKcQlZUv4/iA
    yvAPouIT
    /yv1EOnyUIzRExsYnz81OD7KFHmhOHHHA2B5in25fLpmNGZWDmiNv43W4HzyyPCHYWjh
    niUz
    +ZrO6p3m4WQ0/t9SO9Tg2delInc6mZJENcXlsn5yXmfpVSq9WB1gnD6LEVIc2NYdDL/KPBF3
    XmtVGirBAZnzbzPHeDJ4jsYjdpzXiskcsYn7e7HuTs
    +/0Q7P03B/l8bUfSalPI908HtIJ8Ozb0B6
    6DPu8AnWOT9
    +xOPJiEP2GMbVys9Sjbrol4f4RuKERDtcHAtOob9Rgf2y3/pnt7NWqSpkTGUVeDVK
    PFK325sE6h4nvSqKA5TiKUpxkZWZnwFyOOp2ZB4xnDvs9QG3jkq89r
    /xDwcKeRdHHp3pnTGGikoy
    3n
    +K0iDbanG9EG+vbv+6uJk7H6/nk+nir2LSGwhmSJwP+n1xUoNOxfeVhnK0FldBRF3KSxGNpxNg
    pe5g1hn3Jj16
    +xWVFa8DvPbN5irTRPP99fUCC/yyRb/RdB6a9FLHKD1bLpul7oHWKMFgCUl8kxWa
    KtvelmKhZEIaZ9X9DOhhz6V34xtB3eQEKgebdBh7OgvLt
    +0F7pD29PcJhNomhB72bheXnxaf51jY
    Kk9HJfG7Kctcz05PYadN5fXQRLS8rEmAnS8kODq9RJWqqFlgh
    +vB/LkqykiRjl7MmzdhOghBrd2y
    WKYvFptK3PilGJwLdzQbn80QN5f
    /uFmIQd8dE0SSlcEF0UXxDsuZmF8J49S0aag5eVaUF+65OxzQ
    4nYDKZwYFesiC0NakWmKXsNXTs5djiP9TaTuuenUF1nKmHK5TR3yWnQcMNCFO2Hq8sEe0heDPuOK
    42zrhHG03jT4zWGZRomMDxEmmVcvrKGnBC3pBaMJswL8NGsWEfJi4GdF857f5
    /Z0EIVh5Fdxubtw
    GRsHInojB0m6jNK1vqDlGGLFDrndxTYr4mC
    /ppUKWiDU0V+8vXp3+fnDglaNWzm/VGjMLUm7VCBz
    1PzQcy9HRwDkwcWf
    +Q8qQRfiaHmv7EEKliYH9XZJTD4gPsIXhc/mr+x0QF4goAmx9y7n4xxeIRYb
    hX6wFk3IwowNGcIWD7IUPtm0pHEiSv24ClRA48MT7yNct1mCkyEheIxTy1B1RYadQhNK4RVK3old
    VhUWl4hCAQtFYcQUYJwCDhLvCPG12jboTgMVSphHi22WflcKmedKFoJUg042ov5sB
    /bBRKSN3NuN
    SkWVrwsZAEFvmZI7G2SzZSoQGYWCG2MJXMQyXVcoY4KGGlaZdX0d4T3OgD
    /6lZVKR99slG+lODwI
    BurYVmlvG91FuQoi2cuK9Sm9nX5A1KyycPX
    +9mY1GZ47gxWdgxobRDOxRA5aLztE6KeNIt3RYKeR
    dQSkxDxXsH7Rrqc6xmwXmG3WJnMKPvCkSjYpKkdEgxWGk5iNnACxiY49yRBxpbCuN1WJJI64MnMn
    MWOyARrVTKvAsHVJMSooA4ATO9ppcR9J8Tfyb4Cwnzt2ZyYol9LB2w3OSfJSjZonLBVjKlnPiJhU
    NNjO4Qgs3eX8PSCRwwPS037DAVsemNqjN81UjQcSCwp2AXeFRxCr3k5YPwK4jb9md6
    +GFz9FUHSW
    wqVkEIhCaeN5xCZ87Q7sSF0VdqrWiBLSB5SufqlkTOZYR
    /eAvZdxpcSJJYmU+xLIDT3EvaK06sCa
    a7RPM
    +wS5esq8aBthNOl3qX+Quo7eHxxhwDq0f5nGIH9sxaSoDZFhgQMlwC07grOTMJmMLhsF2pI
    oDVNlZHVglJEa0mVInIIhHHfsstAHgRXkT0g25YKKoA47Oppwxpp1bDzPqQIJRCKxK6Iyu
    +gubLg
    U4GiZM9e
    +OisOIEENJEOSCMsg2OlnDEmilZK3cWOY/WHOPOgWKq/wizD+5KIrzQStZbergRD4taw
    0mfikSbzmkiHTNuIGWNlCyoxBk
    +tf816CSO4C9IUUnjKqELkiJqiMT+Eqdhp1xnkyCg0SGegs2Ym
    HWZsJvpLThWclUukGhn8h7NPvcxXmKfS
    +f9iXpdZbu6fTEJp+LHYtEBIUe1DlrHcEM2aJbc/GBmu
    5qqIMi5HFIt86
    +VzQrbcNfHmghRSTUA+xhAO4kGZSOM0nqVIYIhQ6I2yw3NqNepE2xNzhqdYN2BL
    LriEA9G3j2STjojCDaUQqnAM3nsKTGLbjhMqzJVPhVCzWohXo2NzthEAmlS53os57Fs59cujDFmp
    h0bqtSw82N
    /B7BCbVowi7KhW2Z2IFXtG2DOI3USmFZfcNhdoRyr4wstunRMeOYP1BpNXw7DODcne
    y3rixtQ7foNHbLIqDhpGImSQbSr2rJPfipw5h4ATDDMso3jxjiPhSW5kXzGnG6HCIkvqFEtn7b7T
    zkotm0IIa7rHrnDEf1rnqNP1N1V6p42
    +P7DXU0LkReKMJgaSRpiOuMvhWaAB0QbIoR6Aepk9LkJV
    m9kGyvnE8vk2M8cem4
    +KAHVK5lgbg6Fiwf4AmbkQOT7GAWWktr5QE6KNpnp/FdUyTVVJtmhaN7hG
    bCqhJ0vMG9SISOpyUQDhTzYrcQCaxtTummTkqaYmcrp50U5f9Q4FfrErCXdXOG7Lman2MVmnrFlB
    WhlPTFbZ11qeBajQBSbdWQOas1i0PPXEjxh3oN4L9MJw3Dfzz12cBQce8s82CsqNydoc3w16h9HP
    xJltDPYtg2bFtEB74jJAPG1kHJ6iyTddTKDgZ5YQSBr
    /y9J2QDbVuYWr1SddPVDwURsk464JbCJs
    rwJ6Am6j2LWp1n
    +ep/O6U9j37NQE0aEtcv2SGvY0d+xruyfDhKa8aj2zTcdr4VKzYSsLdZW8XXeU
    uv7WYTvNpTUFysi
    +T9TilL6NVHCY07VvVEt3+LpFtJ7tDuYGVTeRxDckMRMTg1r3InHZ4D6UWLKH
    2SOOOTITCbbWdp6AQHzbQOzC5eCknJTkAX5kTprIyhZ5KLN8yg3HKJvuxfXN4momOOvin19huEox
    XDGiKMlj7mCZPUu5Ya8x8eWBtXzMEcgkVlb2Ii5J4IS8piTPGfRtCaFUZioTuRENsbRuy5GN
    +sPl
    OoeZXviWwpUE9KRWLWInLgLlCJWuGGDDPbahSr
    /3koNWqzYX7A4Lwkyjlb2JEAqJydCj0m8syUPs
    frqlRMBTEHVPlA5kvJU7bXBbPC0
    /Osjf7EaXSVal7QKgbc9WM0HsEzYaGZCb6XEmRs8flQV97zG8
    GxyHVUe454Ojp9m7UmXmSE8ZbJ4KKRPxLQtlLDJDg9XcvbRSn8l8t
    /IeRZf6u4jGZUXjV76zVwO2
    FjUNDSeKUOqStcp6sWksrGIGyzRc1aEQjXxTSngEK2geh2MAba2qf2U0CZnY0DIhX0k4V1KBaeR
    /
    ZAxSaG2Mj/JByMd6wQzkc33Y+8OhLdhJP8kgqnTrmLWDtNxxkJqj1u8IHt0K5SS65HKqPIAv7hnE
    qK2kIcK3bPsqaBjfD3Y1772nzNv8t5URz
    +iYxytl7WvPc9jzuqNhrJmY/p+w5VlexRabfabS9Ajx
    MuWYdKA9Ytpc5TnsR5o0SapM6AadrlzsqmvTA918zYRp7mqT0oV5laPZMR2fcUhOHqbRsLiA5YxO
    WYKEdEyvW0mEmkVek4kXwfMNiL10MzP6zCQjuk6gD5zCrJoaa53EeK
    /t5JvkRn7t0AXP4UpTTg5W
    800epWG2d4NNRrZnkr3WfR8aIeYvzdJdQm0
    +R4iGfnXDKM0tdlvst5lh+JoUcr1G9bGXA821C/WI
    9BH47rg0hh9Cp4
    /xQ/oyrswmfnwaPmF2Z8YARerY4rzvAHk1y1sXRm/ozpAvsVSc5VStuniHBHRD
    V9atGDqTEJ2ygrJRn1Kq8wRkSyt9jVgjHltIhP1M0OohKjScujQFrk54FhtZyGzX
    +PUjpWy322Mq
    iSOUG2OVqwdJ9da8UMMC
    /JaJWc0Nb8HZaVKeiZ/p0UGR6fLo/E/CaLJg3Ya0b1tZiHpeMENbfYPN
    09ixy1sebrmKae4YSOwEjUQERm2Jb7HOVJkBfhJ04U2hyyVpT20m3n24XMwGr8664
    /MHtzt8GHYH
    r9xXASqxyVonZaHwggxzMe2LNfxbm7fR
    +CVfbquHUqWkEP7G8wZ1qPXVyPPpfy50Zhwl3Q5dd6aB
    LPYL5v
    /S2DdyuNZhFI91sxdGMXyVP3q5Ln8pCsu82d0g7PgrEm1E1B41W//S9gPToOfS/9Hxi11e
    Nru38w+Mc0CfsALPb5DkfrFn7JMK7SyG/T+9hyZVGE69wJ+Mvb6nZDgNRzJQk7A/CaejqZoEo2EQ
    BtPBRPypQ5
    +BtPnMZdEhFkgLQUvWZKd/ifkLm30S4x5J6iAOhEPffwb9cX+IRyY/9CfTqTfxPH/Y
    D4YTGQ6lPxyFQTDyzryxdzY9C9UYf0y
    +zO5UitxutUcf86LcfHMb9Eb0aj4nDlhwPD/QR4raJllC
    W
    /3+0HUH59ifv70xSuqNzHdO+n5tTrMWb7lV/e+PHxpq2yB4aPC1ceOZxpYWY1jZFlHZWvlJyTsk
    DGMkVhUa4z0K1lbUQNNLqYbm26hj
    +NMc6np/xDOX8s3CTvJHGaiDceT2PsPK5JJSMGysgqxEqmhI
    JcbnLI5
    /UMG5mXPBA8gZqYfov7siqXjcYXwkwpcv/wad6WDb
    ===END CRASH DUMP===
  2. Intyre
    Offline

    Intyre Staff Member PocketMine Team

    Joined:
    Aug 24, 2013
    Posts:
    118
    Minecraft User:
    Intyre
    Why don't you look up the error with Google? About 46,300 results (0.40 seconds) and I see the solution in the description of a php.net page. Have fun! Use Google and learn something every day!
Thread Status:
Not open for further replies.

Share This Page

Advertisement