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

Solved unexpected variable "$sender"

Discussion in 'Plugin Help' started by GeistFan, Sep 28, 2021.

  1. GeistFan

    GeistFan Slime

    Messages:
    86
    GitHub:
    GeistFan
    Hello, I'm back!
    A friend coded an /day plugin for my server.
    But I get this Error:
    ParseError: "syntax error, unexpected variable "$sender"" (EXCEPTION) in "plugins/Time/src/time/Main" at line 30
    Whats the Failture?
    - GeistFan
     

    Attached Files:

    • Main.zip
      File size:
      614 bytes
      Views:
      15
  2. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Its you again, with another self-explanatory error, with same errors you encountered last time!
     
    Primus and NTT like this.
  3. NTT

    NTT Zombie

    Messages:
    311
    GitHub:
    NTT1906
    you should understand how the code work first, but this requires you some basic knowledges about php
    so please learn Php, it takes you more or less than 30 minutes for that
     
    Last edited: Nov 16, 2021
    minijaham likes this.
  4. IvanCraft623

    IvanCraft623 Baby Zombie

    Messages:
    105
    GitHub:
    IvanCraft623
    Hello, here is a page where you can learn php: https://www.w3schools.com/php/

    Your error can be solved with basic knowledge of php, I assure you that if you spend at least 1 hour, you can easily understand most errors. :D
     
  5. ATVExtremeGamer

    ATVExtremeGamer Creeper

    Messages:
    4
    GitHub:
    atvextremegamer
    Looks like you forgot to put a Semicolon at the end
     
    Last edited: Oct 1, 2021
  6. BloodyJohnRus

    BloodyJohnRus Silverfish

    Messages:
    19
    GitHub:
    GDSHNIK
    It's better to remove all spaces before & after =.
    Check, if you have in that stroke spaces after; , ()
     
  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.