bakfiets2
bakfiets2
> php artisan migrate And the next one Trying to get property 'client' of non-object /var/www/vhosts/ict.jellevansetten.nl/httpdocs/vendor/laravel/passport/src/ClientRepository.php#81 ErrorException return $this->find(Passport::$personalAccessClient); } return PersonalAccessClient::orderBy('id', 'desc')->first()->client; } /** #0 /var/www/vhosts/ict.jellevansetten.nl/httpdocs/vendor/laravel/passport/src/ClientRepository.php(81): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Trying to...
I can create API now. Can you get me going with the curl command?
Looks like it works. No errors > > > > {"total":1,"rows":[{"id":1,"avatar":"\/\/gravatar.com\/avatar\/3dfb4dd2322ec32a9b7bddf5956b1415","name":"Jelle van Setten","first_name":"Jelle","last_name":"van Setten","username":"admin","employee_num":"","manager":null,"jobtitle":null,"phone":null,"website":null,"address":null,"city":null,"state":null,"country":null,"zip":null,"email":"[email protected]","department":null,"location":null,"notes":"","permissions":{"superuser":1},"activated":true,"two_factor_activated":false,"two_factor_enrolled":false,"assets_count":0,"licenses_count":0,"accessories_count":0,"consumables_count":0,"company":null,"created_at":{"datetime":"2020-09-23 21:07:46","formatted":"2020-09-23 09:07 PM"},"updated_at":{"datetime":"2020-09-23 22:17:03","formatted":"2020-09-23 10:17 PM"},"last_login":{"datetime":"2020-09-23 22:17:03","formatted":"2020-09-23 10:17 PM"},"available_actions":{"update":true,"delete":true,"clone":true,"restore":false},"groups":null}]}$
Let's wait on the result of @yosiasz then! I will try to go down from 4.9.5 towards @yosiasz
> One additional thing... > > if you add: > > ``` > ENABLE_HSTS=false > ``` > > to your .env file and then clear your config caches with `php...
Error still exists on 4.9.4. Fresh install. Same error...
Tried the latest Beta. Error is still there... Unauthenticated./var/www/vhosts/ict.jellevansetten.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php#81Illuminate\Auth\AuthenticationException */ protected function unauthenticated($request, array $guards) { throw new AuthenticationException( 'Unauthenticated.', $guards, $this->redirectTo($request) ); }
Still no luck. I think it has also something to do with Plesk. But i don't know what. Will try to install on a VM with ubuntu or something like...
Nope. It did not solve the issue. Even on the new version. ldap is enabled in the PHP settings. Same error...
There was indeed a ldap problem. It was loaded but not on the composer side of this plesk server. But that still does not solve the error. Also deleted the...