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

Need help with Groups Plugin

Discussion in 'Facepalm' started by WinterBuild7074, Apr 7, 2017.

Thread Status:
Not open for further replies.
  1. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I have 2 helpers on Twitter and they cannot find out the problem on my Group Plugin (one of them coded this plugin himself)
    Pastebin: https://pastebin.com/rd1Yw9Z4

    The error is (I think it is the error):
    [Server thread/CRITICAL]: ClassNotFoundException: "Class Adversarius\RefreshTask not found" (EXCEPTION) in "/src/spl/BaseClassLoader" at line 144
     
  2. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    The plugin needs a use statement for the class named "RefreshTask".
     
    jasonwynn10 likes this.
  3. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    facepalm section?
     
  4. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I don't know anything about PHP – please give me the working code, then...
     
  5. JackboyPlay

    JackboyPlay Spider

    Messages:
    11
    GitHub:
    JackboyPlay
    STOP STOP STOP noone is giving you a code we say how to solve it but no code.
    (German: Also du fauler Sack, entweder du folgst den Anweisungen, welche dir zur Lösung verhelfen oder du lässt es deine Plugins weiterzuschreiben. Ich bezweifle, dass du das geschrieben hast, denn sonst wärst du kompetent genug das zu fixen)
    Here you can found a fix http://lmgtfy.com/?q=How+to+fix+a+ClassNotFoundException+in+PHP
     
  6. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    Reported. Reason: unfriendly

    Plus, I didn't make that plugin. The friend of my helper did, and they both don't have an idea how to fix the problem. I gave my helper a screenshot of the error too, but it didn't help.
    Maybe they are only Beginner-Amateur coders.
     
    [deleted] likes this.
  7. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I searched in Google too, but it didn't really help me, I think. Sorry, but I never learned PHP. And if even my helper(s) cannot fix it, I have no idea.

    This is the only thing I know: I cannot a file named RefreshTask on my server.
     
    Last edited: Apr 8, 2017
  8. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    We can't solve this issue for you. We don't know if RefreshTask is a class anywhere in your plugin's folder, or what it's purpose should be. Use statements and using other classes are some of the simpler things in plugin development. If the class doesn't exist, you can delete the line that starts the task, but chances are it will have side effects.
     
  9. Primus

    Primus Zombie Pigman

    Messages:
    749
    Ret#rd!

    If one of them coded that plugin, how he doesn't know how to fix it?
     
  10. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I have no idea. I showed the error to one of them but they still don't know what to do.
     
  11. XCodeMCPE

    XCodeMCPE Slime

    Messages:
    96
    GitHub:
    xcodemcpe
    Just use pureperms and purechat.
     
  12. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I have no idea, my helpers say that PureChat and PurePerms aren't working and very glitchy sometimes.
     
  13. XCodeMCPE

    XCodeMCPE Slime

    Messages:
    96
    GitHub:
    xcodemcpe
    If you use the latest pureperms and purechat from github. It works fine.
     
  14. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    OK, I installed PurePerms and PureChat again on my server, but the perms doesn't work at all. The "list" of perms in groups.yml don't load – not a single one. The PurePerms plugin is loaded, but perms don't work.
     
  15. XCodeMCPE

    XCodeMCPE Slime

    Messages:
    96
    GitHub:
    xcodemcpe
    Picture?
     
  16. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    It says "You don't have permission to warp/use this warp".
    I added essentials.warps.*
     
  17. XCodeMCPE

    XCodeMCPE Slime

    Messages:
    96
    GitHub:
    xcodemcpe
    What does this have to do with ranks?
     
  18. moska

    moska Baby Zombie

    Messages:
    105
    GitHub:
    supermaxalex
    What's exactly the RefreshTask ? A class ? A file on your plugin ? A file on the software ?
     
  19. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I don't know. I never had or saw a file named RefreshTask. But maybe I can look at it again.
     
  20. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
Thread Status:
Not open for further replies.
  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.