Stop working after ./daily.sh

outputs:

[email protected]:~$ ./daily.sh
In routes-v7.php line 205:
syntax error, unexpected end of file, expecting ')'
Updating SQL-Schema                                OK
Cleaning up DB                                     OK
In routes-v7.php line 205:
syntax error, unexpected end of file, expecting ')'
[email protected]:~$ ./validate.php

In routes-v7.php line 205:

  syntax error, unexpected end of file, expecting ')'


====================================
Component | Version
--------- | -------
LibreNMS  | 22.6.0-5-g6db382a27
DB Schema | 2022_05_30_084932_update-app-status-length (242)
PHP       | 7.3.31-1~deb10u1
Python    | 3.7.3
MySQL     | 10.3.34-MariaDB-0+deb10u1
RRDTool   | 1.7.1
SNMP      | 5.7.3
====================================

[OK]    Composer Version: 2.3.7
[OK]    Dependencies up-to-date.