rluders / wn-jwtauth-plugin

JWTAuth Plugin for WinterCMS
GNU General Public License v3.0
29 stars 28 forks source link

Class 'Tymon\JWTAuth\Providers\AbstractServiceProvider' not found #56

Closed nemerki closed 3 years ago

nemerki commented 3 years ago

Hi,

I'm t install the plugin from the October CMS Marketplace and get this error:

(1/1) FatalThrowableErrorClass 'Tymon\JWTAuth\Providers\AbstractServiceProvider' not found

in AuthServiceProvider.php line 12 at require_once()in ClassLoader.php line 130 at ClassLoader->includeClass('RLuders\JWTAuth\Providers\AuthServiceProvider', 'plugins/rluders/jwtauth/providers/AuthServiceProvider.php')in ClassLoader.php line 99 at ClassLoader->load('RLuders\JWTAuth\Providers\AuthServiceProvider') at spl_autoload_call('RLuders\JWTAuth\Providers\AuthServiceProvider')in Application.php line 635 at Application->resolveProvider('RLuders\JWTAuth\Providers\AuthServiceProvider')in Application.php line 582 at Application->register('RLuders\JWTAuth\Providers\AuthServiceProvider')in Plugin.php line 79 at Plugin->register()in PluginManager.php line 251 at PluginManager->registerPlugin(object(Plugin), 'RLuders.JWTAuth')in PluginManager.php line 185 at PluginManager->registerAll()in ServiceProvider.php line 51 at ServiceProvider->register()in Application.php line 586 at Application->register(object(ServiceProvider))in ProviderRepository.php line 75

rluders commented 3 years ago

Hi, @nemerki

This problem is directly related to this issue. I had to update the plugin dependencies to match the OctoberCMS release with Laravel 6, but now, looks like we are facing some issues related to OctoberCMS Marketplace itself.

I was talking to some people, including Luke Towers, and there are other people complaining that the Marketplace isn't downloading some plugin's dependencies.

So, for now, what I can advise you is to wait till they fix it. I'll keep following its resolution, and as soon I get some update, I'll test it and let u know about it.

Sorry about the inconvenience, but at this moment, doesn't seem that I can do much more about it.

nemerki commented 3 years ago

can i download plugin dependencies from github ? or can you send me dependencies zip or another way

rluders commented 3 years ago

Install the plugin from Github:

  1. Just download the last plugin release here
  2. Extracts its content in the plugins/rluders/jwtauth
  3. Copy the composer.json and the tests/ folder from the OctoberCMS repository and put both in your OctoberCMS root folder
  4. Edit your config/cms.php file and change the disableCoreUpdates to true
  5. From the OctoberCMS root folder, execute the composer update command

It should install all the plugins dependency and you are good to go.

rluders commented 3 years ago

I'm closing this issue, and handling it from it's duplicated on #53