3 years ago

Trait 'Illuminate\Database\Concerns\BuildsQueries' not found

Posted 3 years ago by bobmyles

Laravel Version: 5.4.*

PHP Version: 7.0.17

Database Driver & Version: Ver 14.14 Distrib 5.5.54, for debian-linux-gnu (x86_64) using readline 6.3


I am trying to login to my platform but getting this error, Trait 'Illuminate\Database\Concerns\BuildsQueries' not found

I have not done any changes on the file /vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:23 as from the logs the exception is;

local.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Trait 
'Illuminate\Database\Concerns\BuildsQueries' not found in 

/var/www/html/project_name/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:23 Stack trace: #0 {main} I can not interpret any further as that is the information I get from the logs.

Kindly someone advice.

Regards. Bob Mwenda.

Steps To Reproduce:

I tried submitting my login form; then got the error FatalErrorException in Builder.php line 23: Trait 'Illuminate\Database\Concerns\BuildsQueries' not found on the screen.

I can not figure out how to solve this.

Please sign in or create an account to participate in this conversation.