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

Error undefined index

Discussion in 'Facepalm' started by Kyd, Aug 24, 2017.

  1. Kyd

    Kyd Zombie Pigman

    Messages:
    678
    GitHub:
    boi1216
    I get this error in my code
    Code:
    [15:47:58] [Server thread/CRITICAL]: ErrorExceptio errordefined index: $sender->party_invite_string_text" (EXCEPTION) in "plugins/PocketCore/src/PocketCore/Loader" at line 264
    
    line 264
    PHP:
    /** @var Player $pl */
    /** @var Player $sender */
    $pl->partyList[$sender->party_invite];
    $sender->party_invite returns string
     
  2. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    You're using dynamic properties?
     
  3. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    First of all, why do you expect that code to work?
     
  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.