Fread() expects parameter 1 to be resource

#1

Since today I get a lot of error Messages. Can anyone tell me how can I fix it?
I have no idea what caused this Error.

Nextcloud 14.0.1
Ubuntu 18.04
Php 7.2
Mysql

Error
PHP
2018-10-08T17:19:14+0200
fread() expects parameter 1 to be resource, string given at /var/www/cloud/lib/private/legacy/helper.php#297
Error
PHP
2018-10-08T17:19:14+0200
feof() expects parameter 1 to be resource, string given at /var/www/cloud/lib/private/legacy/helper.php#296
#2

Did you find a fix for this?
I had external storage for gDrive set up.
My test file failed to delete and proceeded to generate 300GB of log files in 24 hours.
I disabled and deleted the gDrive app then deleted any reference to that file from the database.
However, the error log keeps piling up.