[CRON] PHP Parse error:

i hope someone can help with this problem.

I get this Error by running the cron command :

PHP Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{’ or ‘$’ in /var/www/vhosts/xxx.xxx/httpdocs/lib/private/Server.php on line 132

The Command is enabled in Crontab ( User ) :

*/15 * * * * php -f /var/www/vhosts/xxx.xxx/httpdocs/cron.php

Nextcloud 11 Server is running on CentOS 7 (1611) with PHP 7.0.14 FPM


I don´t find a solution for my CRON problem,
so i made this with CRON and Webcron together on my Server.
Set the Nextcloud Corn Setting to Webcron,
and set a regular Cron Job :

*/5 * * * * curl -o /var/www/vhosts/xxx.xxx/httpdocs/nccurl.txt https://xxx.xxx/cron.php

… it works …