GrafiteInc / CMS

Decoupled CMS for any Laravel app, gain control of: pages, blogs, galleries, events, images, custom modules and more.
https://cms.grafite.ca
MIT License
494 stars 104 forks source link

Class 'Yab\FormMaker\FormMakerProvider' not found #126

Closed vladstroeandrei closed 6 years ago

vladstroeandrei commented 6 years ago

Hello, after i tried to update my composer i got this error and now it's not letting me to use even artisan command, the only way to get rid of this error is by removing quarx but right now this is not an option.

`Generating autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover

In Application.php line 635:

Class 'Yab\FormMaker\FormMakerProvider' not found

Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1 `

Thank you.

IManAsap commented 6 years ago

I have the same error by installing Quarx on a new project Laravel 5.5.* :

composer require yab/quarx Using version ^2.4 for yab/quarx ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 30 installs, 0 updates, 0 removals

In Application.php line 635:

Class 'Yab\FormMaker\FormMakerProvider' not found

Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

IManAsap commented 6 years ago

Resolute by changing 1) "use Yab\FormMaker\FormMakerProvider;" by "use Grafite\FormMaker\FormMakerProvider; ' in"\vendor\yab\laracogs\src\LaracogsProvider.php" 2) "$this->app->register(\Yab\FormMaker\FormMakerProvider::class);" by "$this->app->register(\Grafite\FormMaker\FormMakerProvider::class);" in "\vendor\yab\crudmaker\src\CrudMakerProvider.php"

I am going to validate the solution and probably to create a fork

shabaz-ejaz commented 6 years ago

@IManAsap Is there a reason why Quarx has been abandoned? There is no information regarding the change at all. I think that was a very dangerous move considering how many people would have had Quarx and laracogs in the project dependencies.

Can you provide an insight as to what's gone on and possible fixes for people still using Quarx? Also the docs have all disappeared for Laracogs which is not nice at all.

mlantz commented 6 years ago

In the GitterIM channels as well as packages on a whole got rebranded in order to maintain them. All docs moved to https://docs.grafite.ca etc. Quarx, Laracogs, FormMaker, CrudMaker etc are all going to be maintained with their new branding. As a conseqence of this packages had to be abandoned and switched to the new brand.

shabaz-ejaz commented 6 years ago

@mlantz You didn't answer my question. possible fixes for people still using Quarx?

shabaz-ejaz commented 6 years ago

@mlantz Did you read my previous comment?

mlantz commented 6 years ago

@shabaz-ejaz Please read the documentation provided in on https://docs.grafite.ca, it has some further notes on upgrading and the name changes, and please stop commenting on closed issues.

shabaz-ejaz commented 6 years ago

@mlantz I cannot find any page that has further notes on upgrading. Can you send me a specific page link that covers this in detail? and stop ignoring common important comments on issues that clearly still arise from your abrupt name change.