From c48cb46e28c7a6e17a51fbfcdc07361c675ff6a6 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Fri, 19 Jun 2026 10:05:10 +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/email.blade.php | 3 --- resources/views/layouts/hosting.blade.php | 3 --- 2 files changed, 6 deletions(-) diff --git a/resources/views/layouts/email.blade.php b/resources/views/layouts/email.blade.php index 4a9c9aa..0a24b21 100644 --- a/resources/views/layouts/email.blade.php +++ b/resources/views/layouts/email.blade.php @@ -47,9 +47,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/hosting.blade.php b/resources/views/layouts/hosting.blade.php index 047d44c..6f37804 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', ])