From de9ea50744f39dc4f166419767d139812816e3c8 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Fri, 19 Jun 2026 10:04:42 +0000 Subject: [PATCH] Fix corrupted profileMenuItems in layouts after menu propagation. Remove orphaned array entries that caused Blade parse errors and 500 responses on authenticated pages. Co-authored-by: Cursor --- resources/views/layouts/hosting.blade.php | 3 --- resources/views/layouts/user.blade.php | 4 ---- 2 files changed, 7 deletions(-) diff --git a/resources/views/layouts/hosting.blade.php b/resources/views/layouts/hosting.blade.php index 29a1533..e12b698 100644 --- a/resources/views/layouts/hosting.blade.php +++ b/resources/views/layouts/hosting.blade.php @@ -46,9 +46,6 @@ 'profileName' => $navUser?->name ?? '', 'profileSubtitle' => $navUser?->email ?? '', 'profileMenuItems' => \App\Support\UserProfileMenu::items($navUser), - ['type' => 'link', 'label' => 'Account Settings', 'href' => $navAcct.'/account-settings'], - ['type' => 'logout', 'label' => 'Logout', 'action' => route('logout')], - ], 'avatarUrl' => $navUser?->avatar_url, 'initials' => $navInitials !== '' ? $navInitials : 'U', ]) diff --git a/resources/views/layouts/user.blade.php b/resources/views/layouts/user.blade.php index 200b9a2..1ad0819 100644 --- a/resources/views/layouts/user.blade.php +++ b/resources/views/layouts/user.blade.php @@ -74,10 +74,6 @@ 'profileName' => $navUser?->name ?? '', 'profileSubtitle' => $navUser?->email ?? '', 'profileMenuItems' => \App\Support\UserProfileMenu::items($navUser), - ['type' => 'link', 'label' => 'Account Settings', 'href' => ladill_account_url('account-settings')], - ['type' => 'link', 'label' => 'Overview', 'href' => route('mini.dashboard')], - ['type' => 'logout', 'label' => 'Logout', 'action' => route('logout')], - ], 'avatarUrl' => $navUser?->avatarUrl(), 'initials' => $navInitials !== '' ? $navInitials : 'U', ])