Basset error during install v7 #1422
Replies: 2 comments 3 replies
-
|
🚨 Bot is not sure about this answer. Please verify. 🚨 This error is coming from Backpack Basset, not from your own code. It indicates a version mismatch: your app is calling From the v7 upgrade guide: when upgrading from v6 to v7 you automatically move from Basset v1 to v2, which “changes some default behaviour”, and you’re asked to read the new version’s notes. [Upgrade guide] The knowledge sources, however, do not provide a concrete, step‑by‑step fix for this specific
Given that:
So, based only on the provided sources, the recommended action is to ensure all Backpack/Basset packages are fully updated via Composer. If that doesn’t resolve it, this specific error is not yet covered in the available documentation. ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: Frequently Asked Questions|Installation |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the report @sergiidrapoi It's not fixed in 7.0.1 👍 Cheers |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi? I run composer update after backpack:upgrade and receive:
composer update
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating optimized autoload files
ArgumentCountError
Too few arguments to function Backpack\Basset\BassetManager::map(), 1 passed in .../vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 363 and at least 2 expected
at vendor/backpack/basset/src/BassetManager.php:82
78▕ $this->loaded[$asset->getAssetName()] = $asset->toArray();
79▕ }
80▕ }
81▕
➜ 82▕ public function map(string $asset, string $source, array $attributes = []): void
83▕ {
84▕ if (! $this->overridesLoaded) {
85▕ $this->initOverwrites();
86▕ }
10 [internal]:0
Illuminate\Foundation\Application::{closure:Illuminate\Foundation\Application::boot():1131}()
+6 vendor frames
17 artisan:16
Illuminate\Foundation\Application::handleCommand()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Beta Was this translation helpful? Give feedback.
All reactions