Error message Array to string conversion at /var/www/html/nextcloud/lib/private/Files/Cache/Scanner.php#224

Nextcloud version (eg, 20.0.5): 28.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04' Apache or nginx version _(eg, Apache 2.4.25)_: 2.4.25`
PHP version (eg, 7.4): 8.1

I was wondering if anyone could give some advice the log in my Nextcloud environment has been going crazy in the last 24 hours and keeps displaying this error message.

Array to string conversion at /var/www/html/nextcloud/lib/private/Files/Cache/Scanner.php#224

The last two things I did was thumbnail my videos and thumbnails now appear + I added Wasabi external storage bucket.

Has anyone seen this type of error before? My config.php says:

<?php $CONFIG = array ( 'instanceid' => '*********', 'passwordsalt' => '**************', 'secret' => '****************', 'trusted_domains' => array ( 0 => '**********', ), 'datadirectory' => '/var/www/html/nextcloud/data', 'dbtype' => 'mysql', 'version' => '28.0.3.2', 'overwrite.cli.url' => 'http://************', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'nextcloud', 'dbpassword' => '*******', 'installed' => true, 'maintenance_window_start' => 1, 'mail_domain' => '********', 'mail_from_address' => 'noreply', 'mail_smtpmode' => 'smtp', 'mail_sendmailmode' => 'smtp', 'mail_smtphost' => '*********', 'mail_smtpport' => '25', 'mail_smtpauth' => 1, 'mail_smtpname' => '******', 'mail_smtppassword' => '********', 'default_phone_region' => 'GB', 'filelocking.enabled' => true, 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'localhost', 'port' => 6379, 'timeout' => 0.0, 'password' => '', ), 'memcache.local' => '\\OC\\Memcache\\APCu', 'maintenance' => false, 'enable_previews' => true, 'preview_max_x' => 1000, 'preview_max_y' => 1000, 'enabledPreviewProviders' => [ 'OC\Preview\TXT', 'OC\Preview\MarkDown', 'OC\Preview\PDF', 'OC\Preview\MSOfficeDoc', 'OC\Preview\JPEG', 'OC\Preview\PNG', 'OC\Preview\GIF', 'OC\Preview\BMP', 'OC\Preview\XBitmap', 'OC\Preview\MP3', 'OC\Preview\HEIC', 'OC\Preview\Movie', 'OC\Preview\MKV', 'OC\Preview\MP4', 'OC\Preview\AVI', ], ); ?>

Any help would be appreciated.
Many thanks.

UPDATE: Merged and will be in maintenance releases 28.0.6, 29.0.1 + 30.0.0 at release time.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.