Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon error on Admin Menu in version 2.2 #311

Open
theblessedone13 opened this issue Nov 14, 2024 · 2 comments
Open

Icon error on Admin Menu in version 2.2 #311

theblessedone13 opened this issue Nov 14, 2024 · 2 comments

Comments

@theblessedone13
Copy link

Icon error on Admin Menu in version 2.2 : Undefined array key "icon" (View: D:\projects\bagisto\packages\Webkul\Admin\src\Resources\views\components\layouts\header\index.blade.php) (View: D:
immg

@NF11
Copy link

NF11 commented Dec 5, 2024

hi i have the same issue when installing the package, for the shop it work but for admin I have this error

@theblessedone13 did you found solution for it ?

@guychou7
Copy link

guychou7 commented Jan 27, 2025

i had open a PR for that here #313
pending a follow-up, see the instructions below :

  1. delete file config.php from bootstrap/cache
  2. open file admin-menu.php from vendor/bagisto/pwa/src/Config and add icon's property for each item of main return array like lines 9, 15 and 21

Image.

  1. run command php artisan config:cache relaunch your app and test again, it shoulds work.

However there is another issue like the previous but it concern 'info' property

Image

for fixing, edit file system.php from vendor/bagisto/pwa/src/Config add info property foreach item of main return array like lines 7, 12, 21, 102,..., 170

Image

@guychou7 guychou7 mentioned this issue Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants