1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

something is wrong with this code and idk how to fix it

Discussion in 'Help' started by rektpixel, Jan 20, 2017.

  1. rektpixel

    rektpixel Baby Zombie

    Messages:
    186
    the console says this:

    [21:15:33] [Server thread/INFO]: Enabling MysU&GlxPet v1.0.5
    [21:15:33] [Server thread/CRITICAL]: ParseError: "syntax error, unexpected '}', expecting endswitch (T_ENDSWITCH) or case (T_CASE) or default (T_DEFAULT)" (EXCEPTION) in "/phar_REDPets-master_OxSRGyprSfxD_iq.phar/src/pets/command/PetCommand" at line 229
    [21:15:33] [Server thread/INFO]: Disabling MysU&GlxPet v1.0.5

    I'll upload the file below. if anyone could fix this simple error for me i'd be much appreciative :)
     

    Attached Files:

  2. Orlando092

    Orlando092 Creeper

    Messages:
    5
    GitHub:
    orlando092
    Post the code instead of send zip files please
     
    HimbeersaftLP and applqpak like this.
  3. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Provide code.
     
    rektpixel, HimbeersaftLP and applqpak like this.
  4. applqpak

    applqpak Spider Jockey

    Messages:
    27
    GitHub:
    applqpak
    Is the error not obvious? It's also quite easy to fix...
     
    Muqsit and HimbeersaftLP like this.
  5. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    this is in help section, lets just say not every OP know php
     
  6. applqpak

    applqpak Spider Jockey

    Messages:
    27
    GitHub:
    applqpak
    Muqsit and HimbeersaftLP like this.
  7. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
  8. VCraft

    VCraft Witch

    Messages:
    60
    GitHub:
    VCraftMCPE
    I fixed it here:
     

    Attached Files:

  9. applqpak

    applqpak Spider Jockey

    Messages:
    27
    GitHub:
    applqpak
    Last edited: Jan 21, 2017
  10. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    LMAO xD
     
  11. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
  12. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
  13. rektpixel

    rektpixel Baby Zombie

    Messages:
    186
  14. rektpixel

    rektpixel Baby Zombie

    Messages:
    186
    I'll provide code next time sorry, Are you verified bc your owner of CosmicPE? xD
     
    Muqsit likes this.
  15. rektpixel

    rektpixel Baby Zombie

    Messages:
    186
    thank you!
     
  16. applqpak

    applqpak Spider Jockey

    Messages:
    27
    GitHub:
    applqpak
    The 'Verified' tag is irrelevant to if/what server you own.
    How is G+ relavent to PMMP?
     
    Muqsit likes this.
  17. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    but my link is superior?
    it doesnt waste your time, it is self explanatory and as good as LMGTFY
    after all you dont need to know how to google to use it,
    you just edit the q=stuff if clicking on the google button is somehow hard for you
    TLDR: it LMGTFY is like a ad fly link that make you wait meanwhile, google.com just give you what you need
     
  18. applqpak

    applqpak Spider Jockey

    Messages:
    27
    GitHub:
    applqpak
    That's not the point.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.