jimix

error "composer update"

Posted 2 months ago by jimix

Hello, I have an error when I send the command "composer update"

My result:

Warning: Ambiguous class resolution, "Corals\User\Providers\UserEventServiceProvider" was found in both "/var/www/html/mywevi/Corals/core/User/Classes/UserEventServiceProvider.php" and "/var/www/html/mywevi/Corals/core/User/Providers/UserEventServiceProvider.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Settings\Transformers\CustomFieldSettingTransformer" was found in both "/var/www/html/mywevi/Corals/core/Settings/update-batches/CustomFieldSettingTransformer.php" and "/var/www/html/mywevi/Corals/core/Settings/Transformers/CustomFieldSettingTransformer.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Settings\Transformers\SettingTransformer" was found in both "/var/www/html/mywevi/Corals/core/Settings/update-batches/SettingTransformer.php" and "/var/www/html/mywevi/Corals/core/Settings/Transformers/SettingTransformer.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Settings\Transformers\CustomFieldSettingPresenter" was found in both "/var/www/html/mywevi/Corals/core/Settings/Transformers/CustomFieldSettingPresenter.php" and "/var/www/html/mywevi/Corals/core/Settings/Models/CustomFieldSettingPresenter.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Settings\Facades\Settings" was found in both "/var/www/html/mywevi/Corals/core/Settings/Models/Settings.php" and "/var/www/html/mywevi/Corals/core/Settings/Facades/Settings.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Settings\Facades\Modules" was found in both "/var/www/html/mywevi/Corals/core/Settings/Models/Modules.php" and "/var/www/html/mywevi/Corals/core/Settings/Facades/Modules.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Activity\Transformers\ActivityPresenter" was found in both "/var/www/html/mywevi/Corals/core/Activity/Transformers/ActivityPresenter.php" and "/var/www/html/mywevi/Corals/core/Settings/Facades/ActivityPresenter.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Settings\Providers\SettingsAuthServiceProvider" was found in both "/var/www/html/mywevi/Corals/core/Settings/Classes/SettingsAuthServiceProvider.php" and "/var/www/html/mywevi/Corals/core/Settings/Providers/SettingsAuthServiceProvider.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Foundation\Search\TermBuilder" was found in both "/var/www/html/mywevi/Corals/core/Foundation/Search/TermBuilder.php" and "/var/www/html/mywevi/Corals/core/Foundation/update-batches/TermBuilder.php", the first will be used. Warning: Ambiguous class resolution, "Corals\User\Mail\UserRegistered" was found in both "/var/www/html/mywevi/Corals/core/User/Mail/UserRegistered.php" and "/var/www/html/mywevi/Corals/core/Foundation/Transformers/UserRegistered.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Foundation\Transformers\FractalPresenter" was found in both "/var/www/html/mywevi/Corals/core/Foundation/Search/FractalPresenter.php" and "/var/www/html/mywevi/Corals/core/Foundation/Transformers/FractalPresenter.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Foundation\Providers\BaseUpdateModuleServiceProvider" was found in both "/var/www/html/mywevi/Corals/core/Foundation/DataTables/BaseUpdateModuleServiceProvider.php" and "/var/www/html/mywevi/Corals/core/Foundation/Providers/BaseUpdateModuleServiceProvider.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Theme\Themes" was found in both "/var/www/html/mywevi/Corals/core/Elfinder/Themes.php" and "/var/www/html/mywevi/Corals/core/Theme/Themes.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Menu\Providers\MenuAuthServiceProvider" was found in both "/var/www/html/mywevi/Corals/core/Menu/Providers/MenuAuthServiceProvider.php" and "/var/www/html/mywevi/Corals/core/Theme/Commands/MenuAuthServiceProvider.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Theme\Middleware\setTheme" was found in both "/var/www/html/mywevi/Corals/core/User/Facades/setTheme.php" and "/var/www/html/mywevi/Corals/core/Theme/Middleware/setTheme.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Theme\Theme" was found in both "/var/www/html/mywevi/Corals/core/Elfinder/Theme.php" and "/var/www/html/mywevi/Corals/core/Theme/Theme.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Theme\ThemeServiceProvider" was found in both "/var/www/html/mywevi/Corals/core/Elfinder/ThemeServiceProvider.php" and "/var/www/html/mywevi/Corals/core/Theme/ThemeServiceProvider.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Theme\ThemeViewFinder" was found in both "/var/www/html/mywevi/Corals/core/Elfinder/ThemeViewFinder.php" and "/var/www/html/mywevi/Corals/core/Theme/ThemeViewFinder.php", the first will be used. Warning: Ambiguous class resolution, "Corals\Theme\Providers\ThemeRouteServiceProvider" was found in both "/var/www/html/mywevi/Corals/core/User/Facades/ThemeRouteServiceProvider.php" and "/var/www/html/mywevi/Corals/core/Theme/Providers/ThemeRouteServiceProvider.php", the first will be used.

Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover PHP Warning: Uncaught ErrorException: require(/var/www/html/mywevi/Corals/core/Elfinder/config/themes.php): failed to open stream: No such file or directory in /var/www/html/mywevi/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:59 Stack trace: #0 /var/www/html/mywevi/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php(59): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'require(/var/ww...', '/var/www/html/m...', 59, Array) #1 /var/www/html/mywevi/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php(59): require() #2 /var/www/html/mywevi/Corals/core/Elfinder/ThemeServiceProvider.php(13): Illuminate\Support\ServiceProvider->mergeConfigFrom('/var/www/html/m...', 'themes') #3 /var/www/html/mywevi/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(586): Corals\Theme\ThemeServiceProvider->register() #4 /var/www/html/mywevi/Corals/core/Foundation/FoundationServiceProvider.php(78): Illuminate\Foundation\Application->register(Object(Corals\Theme\ in /var/www/html/mywevi/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php on line 59 PHP Fatal error: Illuminate\Support\ServiceProvider::mergeConfigFrom(): Failed opening required '/var/www/html/mywevi/Corals/core/Elfinder/config/themes.php' (include_path='.:/usr/share/php') in /var/www/html/mywevi/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php on line 59

In ServiceProvider.php line 59:

Illuminate\Support\ServiceProvider::mergeConfigFrom(): Failed opening requi red '/var/www/html/mywevi/Corals/core/Elfinder/config/themes.php' (include_ path='.:/usr/share/php')

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

Anyone know, how to resolve it please?

thanks a lot

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.