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

Solved Help with InvMenu

Discussion in 'Plugin Help' started by Zade, Sep 1, 2019.

  1. Zade

    Zade Spider

    Messages:
    11
    So I'm running InvMenu from source using Devirion and I get this error:
    [Server thread/CRITICAL]: Error: "Class 'test\test\InvMenuHandler' not found"

    My code:
    PHP:
     public function onEnable() {

            if(!
    InvMenuHandler::isRegistered()){
        
    InvMenuHandler::register($this);
            }
    I've also done
    PHP:
    use muqsit\invmenu\InvMenu;
    I have InvMenu running from Source in the /virions folder, Devirion as a .phar in /plugins and the plugin itself is running from source in /plugins
     
  2. A354-PH

    A354-PH Baby Zombie

    Messages:
    186
    GitHub:
    Kizu
    You forgot
    PHP:
    use muqsit\invmenu\InvMenuHandler;
     
    Zade 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.