installation fail v8 in php 7 laravel 7 #1849
Replies: 9 comments
-
same here |
Beta Was this translation helpful? Give feedback.
-
I had the same problem and solved it by using |
Beta Was this translation helpful? Give feedback.
-
i fired this command but error will be same |
Beta Was this translation helpful? Give feedback.
-
Hi, Have you followed all the steps in the Upgrade Guide? |
Beta Was this translation helpful? Give feedback.
-
@alibarthi |
Beta Was this translation helpful? Give feedback.
-
Happened to me too after migrating from v7 to v8. I had to delete all the contents |
Beta Was this translation helpful? Give feedback.
-
Can't require medialibrary in a new laravel 7 project. Getting the following before composer restores the original composer.json file.
|
Beta Was this translation helpful? Give feedback.
-
@scheMeZa Had the same error (that should not be related to the one of this issue, though ;) ) -- it worked after enabling gd2 and exif, that had not been enabled in that installed PHP version... Found those by running |
Beta Was this translation helpful? Give feedback.
-
i saw all issues and forums... but still have this problem :/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Error
Class name must be a valid object or a string
at C:\xampp\htdocs\UjitaJobPortal\vendor\spatie\laravel-medialibrary\src\MediaLibraryServiceProvider.php:23
19| $this->registerPublishables();
20|
21| $mediaClass = config('media-library.media_model');
22|
1 C:\xampp\htdocs\UjitaJobPortal\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:32
Spatie\MediaLibrary\MediaLibraryServiceProvider::boot()
2 C:\xampp\htdocs\UjitaJobPortal\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:32
call_user_func_array([])
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Installation failed, reverting ./composer.json to its original content.
Beta Was this translation helpful? Give feedback.
All reactions