Steps to reproduce :
Admin : Open the application: http://test.tadreeblms.com/ Login using admin credentials: Username: [testadmin@tadreeblms.com] Password: 123456 Go to settings -> landing page settings
URL: user/settings/landing-page-setting
ERROR MESSAGE: Class "Harimayco\Menu\Models\MenuItems" not found
STACK TRACE: app/Providers/AppServiceProvider.php:123
When navigating to:
Settings → Landing Page Settings
The page crashes with a fatal error:
Class "Harimayco\Menu\Models\MenuItems" not found
The issue occurs inside:
AppServiceProvider.php → boot() method
Code snippet causing crash:
$custom_menus = MenuItems::where('menu', '=', config('nav_menu')) ->orderBy('sort') ->get();
The Harimayco Menu package (or its models) is either:
Currently, the code assumes the class exists, which causes a fatal error if package is unavailable.
END.
Screenshot :
<img width="1701" height="966" alt="Image" src="https://github.com/user-attachments/assets/8788f498-31b7-465f-9792-318e9de25348" />