Cronjob failing

Hi everyone,

I have a Matomo 5.0.0 setup and just added a cronjob as recommended but I keep getting this error that I’m not sure how to resolve.

The cron job is setup as

15  *   *   *   *   /usr/local/bin/php /home/my_user/domains/ core:archive --url= >> /home/my_user/domains/

And whenever it runs, I get the following error

/usr/local/bin/php: /usr/local/lib/ no version information available (required by /opt/alt/libxml2/usr/lib64/
PHP Fatal error:  Cannot override final method Piwik\Plugin\ConsoleCommand::execute() in /home/my_user/domains/ on line 27

Any suggestion or help is greatly appreciated.

p.s. I have replaced the actual user and domain with my_user and domain respectively for privacy reasons.