Can you provide both Admin Middleware and Staff Middleware?

|
hatsushiroyuki 2021-12-16 04:38:27
Great_Ballz_Of_Fire 2021-12-16 04:38:06
I think this probably the ide unable to understand traits

I agree

Opare 2021-12-16 04:38:28
Great_Ballz_Of_Fire 2021-12-16 04:38:06
I think this probably the ide unable to understand traits

oh okay

Great_Ballz_Of_Fire 2021-12-16 04:38:52
Yeah
lxyous 2021-12-16 04:39:21
hatsushiroyuki 2021-12-16 04:38:15
Broooo you did great the whole conversation

noo, wkwk makanya ksini jg sambil bljr huhu

hatsushiroyuki 2021-12-16 04:39:40
lxyous 2021-12-16 04:39:21
noo, wkwk makanya ksini jg sambil bljr huhu

Wkwkwkwk got it got it

Opare 2021-12-16 04:40:04
laravel_discuss-102410.jpg
is that why I am getting this error
hatsushiroyuki 2021-12-16 04:40:14
No
hatsushiroyuki 2021-12-16 04:40:29
It’s a whole different error
hatsushiroyuki 2021-12-16 04:41:51
Opare 2021-12-16 04:40:04
is that why I am getting this error

laravel_discuss-102413.jpg
Bruh, delete that “namespace” key

hatsushiroyuki 2021-12-16 04:42:13
I think, that’s the main cause of the error
hatsushiroyuki 2021-12-16 04:44:44
Tell me if that fix your error, Opare
Opare 2021-12-16 04:47:50
hatsushiroyuki 2021-12-16 04:44:44
Tell me if that fix your error, Opare

laravel_discuss-102416.jpg
i delete but still same problem

hatsushiroyuki 2021-12-16 04:48:07
Opare 2021-12-16 04:47:50
i delete but still same problem

What’s your error?

Opare 2021-12-16 04:48:50
hatsushiroyuki 2021-12-16 04:48:07
What’s your error?

laravel_discuss-102418.jpg
same no change

hatsushiroyuki 2021-12-16 04:49:41
Opare 2021-12-16 04:48:50
same no change

Can you provide both Admin Middleware and Staff Middleware?

Opare 2021-12-16 04:51:00
laravel_discuss-102420.jpg
@hatsushiroyuki @lxyous @Great_Ballz_Of_Fire Issue solved. I run composer update as I kept the logincontroller.php file open. Thanks soo much
Opare 2021-12-16 04:51:52
hatsushiroyuki 2021-12-16 04:49:41
Can you provide both Admin Middleware and Staff Middleware?

laravel_discuss-102421.jpg
Admin Middleware

hatsushiroyuki 2021-12-16 04:51:58
Opare 2021-12-16 04:51:00
@hatsushiroyuki @lxyous @Great_Ballz_Of_Fire Issue solved. I run composer update as I kept the logincontroller.php file open. Thanks soo much

Glad to know it fixed.
Does the error of target class [StaffDashboardController] still persist?

Opare 2021-12-16 04:52:48
hatsushiroyuki 2021-12-16 04:49:41
Can you provide both Admin Middleware and Staff Middleware?

laravel_discuss-102423.jpg
StaffMiddleware

Opare 2021-12-16 04:53:25
hatsushiroyuki 2021-12-16 04:51:58
Glad to know it fixed.
Does the error of target class [StaffDashboardController] still persist?

Yes

hatsushiroyuki 2021-12-16 04:55:13
Opare 2021-12-16 04:47:50
i delete but still same problem

Try to change the routing convention to

Route::get(‘/dashboard’, [AppHttpControllersYourControllerName::class, ‘index’]);

Opare 2021-12-16 05:05:01
hatsushiroyuki 2021-12-16 04:55:13
Try to change the routing convention to

Route::get(‘/dashboard’, [AppHttpControllersYourControllerName::class, ‘index’]);

laravel_discuss-102426.jpg
changed but still

Opare 2021-12-16 05:05:40
Opare 2021-12-16 05:05:01
changed but still

laravel_discuss-102427.jpg

hatsushiroyuki 2021-12-16 05:06:05
This is strange
hatsushiroyuki 2021-12-16 05:06:27
I have no idea why that happened
lxyous 2021-12-16 05:11:52
Opare 2021-12-16 05:05:01
changed but still

is your problem same as my probs before?😂

Opare 2021-12-16 05:20:11
hatsushiroyuki 2021-12-16 05:06:05
This is strange

Very

Opare 2021-12-16 05:20:39
hatsushiroyuki 2021-12-16 05:06:27
I have no idea why that happened

Will see w

Opare 2021-12-16 05:21:58
lxyous 2021-12-16 05:11:52
is your problem same as my probs before?😂

Ha 😂…naa this is different

Opare 2021-12-16 05:22:33
Thanks soo much for the support
Great_Ballz_Of_Fire 2021-12-16 05:29:28
Opare 2021-12-16 05:05:40

Clear cache using artisan

Opare 2021-12-16 05:30:04
I clear cache
Opare 2021-12-16 05:30:15
But still
Great_Ballz_Of_Fire 2021-12-16 05:31:34
Opare 2021-12-16 05:05:40

Scroll down further on the error and send screenshots. I want to see the whole error stack

Great_Ballz_Of_Fire 2021-12-16 05:32:12
Before u do that, send a screenshot of the controller in question
|