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

Timezone Error

Discussion in 'Help' started by IllegalerKater, Mar 26, 2018.

  1. IllegalerKater

    IllegalerKater Silverfish

    Messages:
    15
    GitHub:
    IllegalerKater
    Fatal error: Uncaught Error: Class 'pocketmine\utils\Timezone' not found in /home/cathesda/vanilla/src/pocketmine/PocketMine.php:244
    Stack trace:
    #0 {main}
    thrown in /home/cathesda/vanilla/src/pocketmine/PocketMine.php on line 244

    How can I fix this Error?
     
  2. Daniktheboss

    Daniktheboss Baby Zombie

    Messages:
    144
    GitHub:
    daniktheboss
    Any plugins?
     
  3. Daniktheboss

    Daniktheboss Baby Zombie

    Messages:
    144
    GitHub:
    daniktheboss
    Try reinstalling PMMP
     
  4. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    Your utils folder apparently doesn't contain Timezone.php. It was added 2 months ago.
    Are your running from a phar or from src? Try replacing / re-downloading them.
     
  5. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    He’s running from src
     
  6. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    oh, yea I could've seen that.
     
  7. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    vendor/composer check file path than add it
     
  8. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    As far as I know the Timezone.php / the utils folder is not a composer module yet
     
  9. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    ik but there is a path you need add in vendor composer
     
  10. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    yes there is. But it has nothing to do with this issue!
     
  11. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    He send me. The src folder it didn’t have register pocketmine\utils\Timezone in vendor
     
  12. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    You need to regenerate the composer autoloader by running `composer install`.
     
    xXNiceAssassinlo YT likes this.
  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.