Why must i change my DB_PORT to 33060 to run migration and then have to change it back to 3306? Laravel6

i get this error when i try to do a migration with DB_PORT=3306 SQLSTATE[HY000] [1045] Access denied for user ‘homestead’@’localhost’ (using password: YES) (SQL: select * from information_schema.tables where table_schema = laravel and table_name = migrations and table_type = ‘BASE TABLE’) So i have to change the DB_PORT to DB_PORT=33060 Then i get this error…

laravel ER diagram generator getAllModelsFromEachDirectory()

when I try to follow the instruction here( (https://github.com/beyondcode/laravel-er-diagram-generator) I get the following error. Symfony\Component\Debug\Exception\FatalThrowableError : Argument 1 passed to BeyondCode\ErdGenerator\GenerateDiagramCommand::getAllModelsFromEachDirectory() must be of the type array, null given, called in vendor\beyondcode\laravel-er-diagram-generator\src\GenerateDiagramCommand.php on line 96 at vendor\beyondcode\laravel-er-diagram-generator\src\GenerateDiagramCommand.php:101 97| 98| return $modelsFromDirectories; 99| } 100| 101| protected function getAllModelsFromEachDirectory(array $directories): Collection 102| { 103| return collect($directories)…

Laravel – Trying to get property ‘view’ of non-object, when sending mail

I’m trying to send a validation email to a registering customers email address, but It is giving me the error in question rather than sending the notification email. Any help would be fantastic! Struggling here, dont understand where the object is, and the error is unhelpful af. Thankyou 🙂 Create user : $validator = Validator::make($request->all(),…