changing to self just reintroduces the problem. if ( new GFCPTAddon )->get_base_path() can't be used, just add a line to instantiate the class