Error in ninja :send-reminders after recent upgrade to v4.4.3


I am getting this error from the cron job:
Tue, 05 Jun 2018 19:45:17 +0000 Loading latest exchange rates...

In SendReminders.php line 210:

  Undefined property: stdClass::$rates

I tried clearing the cache (, rerunning composer install, php artisan optimize --force php artisan migrate, php artisan db:seed --class=UpdateSeeder . But the error still persists!


I’m not sure, that error usually means the app failed to load the exchange rates.

Have you set custom values for EXCHANGE_RATES_URL or EXCHANGE_RATES_BASE in the .env file?

I think I see the problem, it looks like the API we’re using to load the exchange rates now requires an API key.

We’ll include a fix with our next release. Until then you can either sign up for an API key or comment out this line of code.

Note: the reminders are being sent, this error is occurring afterwards.

That’s it! Commenting out that line fixes the error. I am not using any other currency, so I will keep that line commented until this is fixed.

Thanks a lot!