This version of Nextcloud is not compatible with PHP 7.1.
You are currently running 7.1.33-52+0~20230409.76+debian10~1.gbp03e0c6.