I have been working with this package for long but recent changes are applying in the sidemenu even if I'm changing in config/adminlte.php file. Restarting my apache2 didn't do the job. I'm at a loss here. Can anyone help?
Here is the gist of config/adminlte.php
*I had a submenu name 'Upload Customer' which I removed but no changes in sidemenu, It's still there. 'Customer Report' and 'Agent Report' is in the file but not showing in sidemenu.
Do you perhaps have your config file cached at bootstrap/cache/config.php (name might be different)? This way Laravel reads out of your cached file and ignores the one in config/adminlte.php.
Try running php artisan config:clear iirc, that should clear your cached config file.
If this doesn't help, try clearing out all the laravel caches and your browser cache. I remember Chrome and macOS being especially agressive when it comes to cache building.
Thanks a lot @loekiedepo , That was the reason.
can you please send ur code
Most helpful comment
Do you perhaps have your config file cached at
bootstrap/cache/config.php(name might be different)? This way Laravel reads out of your cached file and ignores the one inconfig/adminlte.php.Try running
php artisan config:cleariirc, that should clear your cached config file.If this doesn't help, try clearing out all the laravel caches and your browser cache. I remember Chrome and macOS being especially agressive when it comes to cache building.