• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Error] New to this, and I have no idea what this means.

3
Posts
1
Years
    • Seen Jun 8, 2023
    Hi! I'm new to Essentials and recently while compiling I encounter this error. Please let me know if you know how to fix it.

    [Pokémon Essentials version 20.1]
    [v20.1 Hotfixes 1.0.7]

    Exception: NoMethodError
    Message: undefined method `<=' for nil:NilClass

    Backtrace:
    381:Compiler_CompilePBS:1491:in `block (2 levels) in compile_trainers'
    381:Compiler_CompilePBS:1490:in `each'
    381:Compiler_CompilePBS:1490:in `block in compile_trainers'
    380:Compiler:242:in `block (2 levels) in pbCompilerEachPreppedLine'
    380:Compiler:234:in `each_line'
    380:Compiler:234:in `block in pbCompilerEachPreppedLine'
    380:Compiler:231:in `open'
    380:Compiler:231:in `pbCompilerEachPreppedLine'
    381:Compiler_CompilePBS:1439:in `compile_trainers'
    380:Compiler:774:in `compile_pbs_files'
     
    188
    Posts
    9
    Years
    • Seen Jan 21, 2024
    In short, it's a type mismatch error. In this case, you're trying to compare objects of a class that doesn't have <= defined as an operator.
     
    3
    Posts
    1
    Years
    • Seen Jun 8, 2023
    I don't think I have <= anywhere in my PBS files but I'm probably reading this the wrong way.
     
    Back
    Top