### Steps to reproduce
1. Install ocDownloader to nextcloud 22
2. Change aria2 secret key in settings
3. Open ocDownloader page and try to download anything
### Expected behaviour
The app works
### Actual behaviour
The page shows `Call to a member function fetchRow() on bool`
### Server configuration
**Operating system**: debian
**Web server:** apache
**Database:** postgresql
**PHP version:** 8.0.14
**Nextcloud version:** (see Nextcloud admin page) 22 (installed from docker; tag: stable-apache)
**Updated from an older Nextcloud/ownCloud or fresh install:** -
**Where did you install Nextcloud from:** docker (official example + custom script used to start aria2)
Dockerfile for nextcloud
```Dockerfile
FROM nextcloud:stable-apache
RUN apt-get update \
&& apt-get install -y aria2 python3-pip sudo net-tools \
&& pip3 install youtube-dl
RUN mkdir /var/log/aria2c /var/local/aria2c \
&& touch /var/log/aria2c/aria2c.log \
&& touch /var/local/aria2c/aria2c.sess \
&& chown www-data.www-data -R /var/log/aria2c /var/local/aria2c \
&& chmod 770 -R /var/log/aria2c /var/local/aria2c
ADD ./start-nextcloud.sh /start-nextcloud.sh
RUN chmod +x /start-nextcloud.sh
# from https://github.com/nextcloud/docker/blob/master/22/apache/entrypoint.sh
ENTRYPOINT ["/start-nextcloud.sh"]
CMD ["apache2-foreground"]
```
start-nextcloud.sh
```bash
#!/bin/bash
# echo "$@"
if [[ -n "$RUN_ARIA2" ]]; then
secret=$(cat /run/secrets/ARIA2_RPC)
echo "Running aria2 rpc"
sudo -u www-data aria2c --disable-ipv6 --enable-rpc --rpc-allow-origin-all -c -D --log=/var/log/aria2c/aria2c.log --check-certificate=false --save-session=/var/local/aria2c/aria2c.sess --save-session-interval=2 --continue=true --input-file=/var/local/aria2c/aria2c.sess --rpc-save-upload-metadata=true --force-save=true --log-level=warn --rpc-secret="$secret"
fi
exec /entrypoint.sh "$@"
```
**Signing status:**
Signing status
```
No errors have been found.
```
**List of activated apps:**
App list
```
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 446464 bytes) in /var/www/html/3rdparty/composer/autoload_real.php on line 37
```
**Are you using external storage, if yes which one (currently not supported by ocDownloader):** no
**Are you using encryption (currently not supported by ocDownloader):** yes
**Are you using an external user-backend, if yes which one:** no
#### Aria2c configuration (remove if not used):
See above
##### Aria2c error log
Aria2c log file (set the log level to debug by using --log-level=debug)
```
-
```
### Client configuration
**Browser:** firefox 95
**Operating system:** archlinux
#### Nextcloud log (data/nextcloud.log)
Nextcloud log
```
Error | index | Exception: Call to a member function fetchRow() on bool
```
Signing status
``` No errors have been found. ```App list
``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 446464 bytes) in /var/www/html/3rdparty/composer/autoload_real.php on line 37 ```Aria2c log file (set the log level to debug by using --log-level=debug)
``` - ```Nextcloud log
``` Error | index | Exception: Call to a member function fetchRow() on bool ```