Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

muragijimana's avatar

Create personal access token in laravel passport is failing

```[2016-08-31 05:47:41] local.ERROR: ErrorException: Trying to get property of non-object in /var/www/dev.api/vendor/laravel/passport/src/ClientRepository.php:66``

0 likes
6 replies
muragijimana's avatar
muragijimana
OP
Best Answer
Level 4

It happen that after some time we need to run php artisan passport:install again to generate a key this solved my problem but remain with another problem should we run that command every time?

12 likes
KimPrince's avatar

Thanks @muragijimana, I had this problem too. Does anyone know if it is recurrent? Will I have to regenerate the keys again at some point?

Please or to participate in this conversation.