Support the ongoing development of Laravel.io →
posted 7 years ago
Requests
Last updated 1 year ago.
0

Logusid said:

ReflectionException in Container.php line 681:

Class App\Http\Controllers\App\Http\Controllers\SearchController does not exist

Can you show the source code of the class SearchController ?

You have an error in the code where you are using the SearchController.

0

Show Your Code >Logusid said:

ReflectionException in Container.php line 681:

Class App\Http\Controllers\App\Http\Controllers\SearchController does not exist

I think this is namespace error check your namespace carefully!!

0

Looks like your pointing to the full namespace in your routing file, remove the \App\Http\Controllers\ as this automatically resolves this for you.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Logusid logusid Joined 24 Mar 2017

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.