modules icon indicating copy to clipboard operation
modules copied to clipboard

Incorrect Import in ServiceProvider

Open ghost opened this issue 4 years ago • 3 comments

Caffeinated\Modules\Support\ServiceProvider

Imports a Factory class which does not exist.

use Illuminate\Database\Eloquent\Factory;

Should be

use Illuminate\Database\Eloquent\Factories\Factory;

I would submit a pull request, but you haven't processed any of them in almost a year so I don't imagine that would get any results.

ghost avatar May 23 '21 00:05 ghost

Actually I spoke too soon ... that Factory class is an abstract.

I'll leave it up to you guys to figure this out. Too many bugs for me.

ghost avatar May 23 '21 00:05 ghost

Same problem with my project. Do you have any solution?

Thanks

huszerldani avatar Sep 27 '21 13:09 huszerldani

Same problem with my project. Do you have any solution?

Thanks

Same problem with my project. Do you have any solution?

Thanks

The official upgrade extension named laravel/legacy-factories ,I've tried. Look here

xin6841414 avatar Aug 31 '23 08:08 xin6841414