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

Sign tile

Discussion in 'Development' started by XdmingXD, May 2, 2017.

  1. XdmingXD

    XdmingXD Baby Zombie

    Messages:
    158
    GitHub:
    xdmingxd
    Code:
    Warning: Creating default object from empty value in phar://C:/Users/xdm08/Desktop/XdNetWork/XdNetWork/PocketMine-MP.phar/src/pocketmine/tile/Sign.php on line 57
    
    Anyone know what this means?
     
  2. McpeBooster

    McpeBooster Baby Zombie

    Messages:
    190
    GitHub:
    mcpebooster
    You must show us your Code :D
     
  3. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    It means that you are making a Sign tile without a valid variable. It's literally self explanatory... :facepalm::facepalm:
    this needs to be in the facepalm section
     
  4. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    The error can be easily read. I don't think there's a further explanation, but whatever..
    PHP:
    $var = new stdClass();
    $var->test "abc";
    $var->anotherTest->abc "def"//<--

    /**
    * Notice how I never defined
    * $var->anotherTest. PHP will
    * create $var->anotherTest itself
    * and hence the error.
    */

     
  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.