Multi-currency module API error

Greetings form Bavaria!

Dolibarr 9.0 (DoliWamp)
MAIN_MULTICURRENCY_ALLOW_SYNCHRONIZATION set to 1

When I try to synchronize I get the following error:

Fatal error: Call to a member function trans() on a non-object in C:\dolibarr\www\dolibarr\htdocs\multicurrency\class\multicurrency.class.php on line 667

The requests on currencylayer.com counts up. Seems to be a Dolibarr problem…

I pushed a fix for 9.0.1

Is there a way to add the syncronization as a cron job?

I’m getting an error on this too. Is there any other settings I need to do? can you help me?