"Something went wrong. Try refreshing the page"

HI I’m running nextcloudPi and it’s fairly new setup.
I updated from 1.5.0 to 1.5.2 today, I updated armbian and created a manual backup. After that the admin web gui stopped working.

In the left sidebar, I can click anything and it always shows “Something went wrong. Try refreshing the page.”
Which of course doesn’t solve the problem.

I rebooted already. It always shows the system info for a second and then the error message appears.

Here is my ncp-report from SSH:

ncpadmin@nextcloudpi:~$ sudo ncp-report
<--! Paste this in GitHub report -->

<details>
<summary>NextcloudPi diagnostics</summary>

grep: /etc/apache2/sites-available/nextcloud.conf: No such file or directory
NextcloudPi version  v1.54.2
NextcloudPi image    
OS                   Armbian 24.5.1 bookworm \l . 6.6.31-current-bcm2712 (aarch64)
automount            no
USB devices          none
datadir              /opt/ncdata/data
data in SD           yes
data filesystem      ext2/ext3
data disk usage      158G/1.9T
rootfs usage         158G/1.9T
swapfile             /dev/zram0
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    28.0.6.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          up
Postfix service      up
Internet check       ok
Public IPv4          ***REMOVED SENSITIVE VALUE***
Public IPv6          ***REMOVED SENSITIVE VALUE***
Port 80              closed
Port 443             open
IP                   ***REMOVED SENSITIVE VALUE***
Gateway              ***REMOVED SENSITIVE VALUE***
Interface            wlan0
Certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               6min

</details>


<details>
<summary>Nextcloud configuration</summary>

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "7": "nextcloudpi",
            "5": "nextcloudpi.local",
            "8": "nextcloudpi.lan",
            "3": "nextcloudpi",
            "11": "***REMOVED SENSITIVE VALUE***",
            "1": "192.168.178.72",
            "14": "nextcloudpi",
            "20": "***REMOVED SENSITIVE VALUE***"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.6.1",
        "overwrite.cli.url": "https:\/\/nextcloudpi\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/opt\/ncdata\/data\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "maintenance": false,
        "logfile": "\/opt\/ncdata\/data\/nextcloud.log",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "loglevel": "2",
        "log_type": "file",
        "htaccess.RewriteBase": "\/"
    }
}

</details>


<details>
<summary>HTTPd logs</summary>


[Sun Jun 16 08:49:24.557330 2024] [ssl:warn] [pid 3990:tid 281473613668384] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Jun 16 08:49:24.567368 2024] [mpm_event:notice] [pid 3990:tid 281473613668384] AH00489: Apache/2.4.59 (Debian) OpenSSL/3.0.11 configured -- resuming normal operations
[Sun Jun 16 08:49:24.567428 2024] [core:notice] [pid 3990:tid 281473613668384] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 16 08:50:49.020615 2024] [proxy_fcgi:error] [pid 3991:tid 281473593688352] [remote 192.168.178.71:52638] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n  thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 08:58:17.543893 2024] [proxy_fcgi:error] [pid 3991:tid 281473416151328] [remote 192.168.178.71:52638] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n  thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 09:04:44.473174 2024] [proxy_fcgi:error] [pid 3991:tid 281473390788896] [remote 192.168.178.71:52638] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n  thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 09:04:53.683904 2024] [mpm_event:notice] [pid 3990:tid 281473613668384] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Jun 16 09:04:53.701366 2024] [proxy_fcgi:error] [pid 3991:tid 281473593688352] [remote 192.168.178.71:52638] AH01067: Failed to read FastCGI header
[Sun Jun 16 09:04:53.701411 2024] [proxy_fcgi:error] [pid 3991:tid 281473593688352] (104)Connection reset by peer: [remote 192.168.178.71:52638] AH01075: Error dispatching request to :4443: 
[Sun Jun 16 09:04:57.072105 2024] [core:warn] [pid 3990:tid 281473613668384] AH00045: child process 3991 still did not exit, sending a SIGTERM
[Sun Jun 16 09:04:59.074237 2024] [core:warn] [pid 3990:tid 281473613668384] AH00045: child process 3991 still did not exit, sending a SIGTERM
[Sun Jun 16 09:05:01.076339 2024] [core:warn] [pid 3990:tid 281473613668384] AH00045: child process 3991 still did not exit, sending a SIGTERM
[Sun Jun 16 09:05:03.078406 2024] [core:error] [pid 3990:tid 281473613668384] AH00046: child process 3991 still did not exit, sending a SIGKILL
[Sun Jun 16 09:05:24.564469 2024] [ssl:warn] [pid 988:tid 281473400168480] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 3.0.13 30 Jan 2024 (OpenSSL 3.0.11 19 Sep 2023), version currently loaded is 0x300000B0) - may result in undefined or erroneous behavior
[Sun Jun 16 09:05:24.584700 2024] [ssl:warn] [pid 988:tid 281473400168480] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Jun 16 09:05:24.634187 2024] [ssl:warn] [pid 1094:tid 281473400168480] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 3.0.13 30 Jan 2024 (OpenSSL 3.0.11 19 Sep 2023), version currently loaded is 0x300000B0) - may result in undefined or erroneous behavior
[Sun Jun 16 09:05:24.644809 2024] [ssl:warn] [pid 1094:tid 281473400168480] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Jun 16 09:05:24.663156 2024] [mpm_event:notice] [pid 1094:tid 281473400168480] AH00489: Apache/2.4.59 (Debian) OpenSSL/3.0.11 configured -- resuming normal operations
[Sun Jun 16 09:05:24.663212 2024] [core:notice] [pid 1094:tid 281473400168480] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 16 09:05:53.391514 2024] [proxy_fcgi:error] [pid 1110:tid 281473346355488] [remote 192.168.178.71:32810] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n  thrown in /var/www/ncp-web/backups.php on line 76'

</details>


<details>
<summary>Database logs</summary>


tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory

</details>


<details>
<summary>Nextcloud logs</summary>


{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairInfoEvent: Repair info: No need to remove link shares.","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Clear access cache of projects","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Reset generated avatar flag","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Keep legacy encryption enabled","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Check encryption key format","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Remove old dashboard app config data","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add job to cleanup the bruteforce entries","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Queue a one-time job to check for user uploaded certificates","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Repair DAV shares","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add background job to set the lookup server share state for users","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add token cleanup job","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Clean up abandoned apps","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add possibly missing system config","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add AI tasks cleanup job","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Queue a job to generate metadata","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::startCheckCodeIntegrity: Starting code integrity check...","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:09+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:09+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"--","version":"28.0.6.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:09+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::maintenanceActive: Maintenance mode is kept active","userAgent":"--","version":"28.0.6.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:09+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"--","version":"28.0.6.1","data":{"app":"updater"}}

</details>

Hi,

I have the same problem. My report:

NextcloudPi diagnostics

Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
grep: /etc/apache2/sites-available/nextcloud.conf: No such file or directory
NextcloudPi version  v1.54.2
NextcloudPi image    NextcloudPi_lxc_08-03-23
OS                   Debian GNU/Linux 11. 6.8.4-3-pve (x86_64)
automount            no
USB devices          sdb sdc sdd sde sdf 
datadir              /media/nextcloud/ncdata/data
data in SD           no
data filesystem      ext2/ext3
data disk usage      108G/435G
rootfs usage         4.5G/16G
swapfile             none
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    28.0.6.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          up
Postfix service      up
Internet check       ok
Public IPv4          ***REMOVED SENSITIVE VALUE***
Public IPv6          ***REMOVED SENSITIVE VALUE***
Port 80              open
Port 443             open
IP                   ***REMOVED SENSITIVE VALUE***
Gateway              ***REMOVED SENSITIVE VALUE***
Interface            eth0
Certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               16min

Nextcloud configuration

Cannot load Zend OPcache - it was already loaded
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "7": "nextcloudpi",
            "5": "nextcloudpi.local",
            "8": "nextcloudpi.lan",
            "3": "nextcloudpi",
            "11": "my_public_ip",
            "1": "192.168.3.18",
            "20": "my_domain.us",
            "14": "nextcloudpi.lan"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.6.1",
        "overwrite.cli.url": "https:\/\/nextcloudpi\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/media\/nextcloud\/ncdata\/data\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "maintenance": false,
        "logfile": "\/media\/nextcloud\/ncdata\/data\/nextcloud.log",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "loglevel": "2",
        "log_type": "file",
        "default_phone_region": "ES",
        "default_language": "ES",
        "default_locale": "es_ES",
        "theme": "",
        "allow_local_remote_servers": true
    }
}

HTTPd logs

[Sun Jun 16 15:42:48.626906 2024] [proxy_fcgi:error] [pid 199:tid 130132721272576] (104)Connection reset by peer: [remote 192.168.3.42:57196] AH01075: Error dispatching request to :4443: 
[Sun Jun 16 15:50:57.614005 2024] [mpm_event:notice] [pid 188:tid 130132761808192] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Jun 16 15:51:00.982259 2024] [core:warn] [pid 188:tid 130132761808192] AH00045: child process 199 still did not exit, sending a SIGTERM
[Sun Jun 16 15:51:02.984268 2024] [core:warn] [pid 188:tid 130132761808192] AH00045: child process 199 still did not exit, sending a SIGTERM
[Sun Jun 16 15:51:04.986219 2024] [core:warn] [pid 188:tid 130132761808192] AH00045: child process 199 still did not exit, sending a SIGTERM
[Sun Jun 16 15:51:06.988206 2024] [core:error] [pid 188:tid 130132761808192] AH00046: child process 199 still did not exit, sending a SIGKILL
[Sun Jun 16 15:51:13.573908 2024] [ssl:error] [pid 148:tid 129359402081600] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 01BAFC23A194E3E23F9EB5095149D5B84CE03C10 / notbefore: Jun  8 09:09:00 2023 GMT / notafter: Jun  5 09:09:00 2033 GMT]
[Sun Jun 16 15:51:13.574060 2024] [ssl:error] [pid 148:tid 129359402081600] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Sun Jun 16 15:51:13.595163 2024] [ssl:error] [pid 195:tid 129359402081600] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 01BAFC23A194E3E23F9EB5095149D5B84CE03C10 / notbefore: Jun  8 09:09:00 2023 GMT / notafter: Jun  5 09:09:00 2033 GMT]
[Sun Jun 16 15:51:13.595190 2024] [ssl:error] [pid 195:tid 129359402081600] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Sun Jun 16 15:51:13.598516 2024] [mpm_event:notice] [pid 195:tid 129359402081600] AH00489: Apache/2.4.59 (Debian) OpenSSL/1.1.1w configured -- resuming normal operations
[Sun Jun 16 15:51:13.598544 2024] [core:notice] [pid 195:tid 129359402081600] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 16 15:52:31.961415 2024] [proxy_fcgi:error] [pid 197:tid 129359360820992] [remote 192.168.3.42:54775] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n  thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 15:52:46.691463 2024] [proxy_fcgi:error] [pid 197:tid 129359245477632] [remote 192.168.3.42:54775] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n  thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 15:53:07.253901 2024] [proxy_fcgi:error] [pid 197:tid 129359255963392] [remote 192.168.3.42:54775] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n  thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 15:53:31.710805 2024] [proxy_fcgi:error] [pid 197:tid 129359193048832] [remote 192.168.3.42:54775] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n  thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 15:53:56.720257 2024] [proxy_fcgi:error] [pid 197:tid 129359203534592] [remote 192.168.3.42:54937] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n  thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 16:02:06.576337 2024] [proxy_fcgi:error] [pid 197:tid 129359318877952] [remote 192.168.3.42:54775] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n  thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 16:02:23.813095 2024] [proxy_fcgi:error] [pid 197:tid 129359392278272] [remote 192.168.3.42:54775] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n  thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 16:03:10.789903 2024] [proxy_fcgi:error] [pid 197:tid 129359161591552] [remote 192.168.3.42:55742] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n  thrown in /var/www/ncp-web/backups.php on line 76'

Database logs

tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory

Any solution to this?