Solved What's the problem?

Discussion in 'Development' started by Kygekraqmak, Jul 18, 2020.

  1. Kygekraqmak

    Kygekraqmak Spider Jockey

    Messages:
    32
    GitHub:
    Kygekraqmak
    I made a plugin called KygekJoinUI. The plugin is located in here. I was submitting the Dev #12 build, but it got rejected. I thought maybe it got rejected because there is a minor lint. The lint is:

    PHPStan
    Problem found in Kygekraqmak/KygekJoinUI/Main.php at line 55. :
    Call to an undefined method pocketmine\plugin\Plugin::createSimpleForm()

    I looked at line 55 and it's when the plugin called the FormAPI. Yes, this plugin is dependent with FormAPI. Anyone can help?
     
  2. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,492
    GitHub:
    jasonwynn10
  3. Kygekraqmak

    Kygekraqmak Spider Jockey

    Messages:
    32
    GitHub:
    Kygekraqmak
    I've put the API version: [3.0.0, 4.0.0]. What's the problem? API 4.0.0 is not released yet.
     
  4. GodWeedZao

    GodWeedZao Zombie

    Messages:
    233
    GitHub:
    godweedzao
    just set it to - 3.0.0 :)
     
  5. GodWeedZao

    GodWeedZao Zombie

    Messages:
    233
    GitHub:
    godweedzao
    did you use
    PHP:
    use jojoe77777\FormAPI
    in your plugin?
     
  6. Kygekraqmak

    Kygekraqmak Spider Jockey

    Messages:
    32
    GitHub:
    Kygekraqmak
    Sorry but I've solved the issues and I forgot to mark this thread as "Solved".
     

Share This Page

  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.