NextcloudPi not compatible with PHP?


I’m running NextCloudPi v25.0.3 and my cron job isn’t working anymore. I ran the following command to check the cron job:

sudo -u www-data php -f /var/www/nextcloud/cron.php

It returns the following:

This version of Nextcloud is not compatible with PHP>=8.2.
You are currently running 8.2.8.

I get that I might have a PHP version installed, that’s not compatible (d*uh), but I have unfortunately absolutely no clue what to do with this?
Can anybody kindly point me into the right direction, please?