After installing and enabling the "Transfer Quota Monitor" app (version 1.0.8), Nextcloud starts generating repeated errors in the log, likely breaking WebDAV synchronization and other core operations. The main error is Call to undefined method OC\DB\ResultAdapter::fetchAssociative().
Steps to reproduce:
Install and enable "Transfer Quota Monitor" v1.0.8 on Nextcloud.
Check the Nextcloud logs (in data/nextcloud.log or the admin interface).
Expected behavior:
The app should function without throwing errors and monitor data transfers correctly.
Current behavior:
The log is flooded with errors like these (repeating every few seconds):
text
Error
no app in context
Error
Call to undefined method OC\DB\ResultAdapter::fetchAssociative()
Error
webdav
Error
Call to undefined method OC\DB\ResultAdapter::fetchAssociative()
Environment:
Nextcloud version: [Specify your version, e.g., 32.0.6]
App version: 1.0.8
PHP version: [Specify your version, e.g., 8.4]
Database: MariaDB version]
Operating System: Debian 13
Additional context:
The fetchAssociative() method is typical of modern Nextcloud database interfaces (Doctrine DBAL). It seems the app is trying to use a method that is not available in the OC\DB\ResultAdapter class version corresponding to my Nextcloud installation. There is likely an incompatibility between the app and the Nextcloud version, or the app expects a database structure it hasn't created correctly. The app's README.md states it requires Nextcloud 32+, so this might be a back-compatibility issue if you are using an older version, or a bug in the app if you are using v32.
Suggestion:
Review the code in lib/ that interacts with the database to ensure it uses the correct methods of the result adapter for the supported Nextcloud version. Possibly, fetchAssociative() should be fetch() or fetchAll() depending on the context.
After installing and enabling the "Transfer Quota Monitor" app (version 1.0.8), Nextcloud starts generating repeated errors in the log, likely breaking WebDAV synchronization and other core operations. The main error is Call to undefined method OC\DB\ResultAdapter::fetchAssociative().
Steps to reproduce:
Install and enable "Transfer Quota Monitor" v1.0.8 on Nextcloud.
Check the Nextcloud logs (in data/nextcloud.log or the admin interface).
Expected behavior:
The app should function without throwing errors and monitor data transfers correctly.
Current behavior:
The log is flooded with errors like these (repeating every few seconds):
text
Error
no app in context
Error
Call to undefined method OC\DB\ResultAdapter::fetchAssociative()
Error
webdav
Error
Call to undefined method OC\DB\ResultAdapter::fetchAssociative()
Environment:
Nextcloud version: [Specify your version, e.g., 32.0.6]
App version: 1.0.8
PHP version: [Specify your version, e.g., 8.4]
Database: MariaDB version]
Operating System: Debian 13
Additional context:
The fetchAssociative() method is typical of modern Nextcloud database interfaces (Doctrine DBAL). It seems the app is trying to use a method that is not available in the OC\DB\ResultAdapter class version corresponding to my Nextcloud installation. There is likely an incompatibility between the app and the Nextcloud version, or the app expects a database structure it hasn't created correctly. The app's README.md states it requires Nextcloud 32+, so this might be a back-compatibility issue if you are using an older version, or a bug in the app if you are using v32.
Suggestion:
Review the code in lib/ that interacts with the database to ensure it uses the correct methods of the result adapter for the supported Nextcloud version. Possibly, fetchAssociative() should be fetch() or fetchAll() depending on the context.