failed to set user profile picture
When I tried to upload an image, i get to see the preview after I picked it but when I try to save the profile I get an opaque error on the page (The website encountered an unexpected error. Please try again later.
) and this in the web containers logs:
[02-Feb-2022 08:28:16] WARNING: [pool www] child 1955 said into stderr: "NOTICE: PHP message: Uncaught PHP Exception Drupal\Core\Entity\EntityStorageException: "SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE "fid" = '3'' at line 2: UPDATE "filehash" SET "
[02-Feb-2022 08:28:16] WARNING: [pool www] child 1955 said into stderr: "WHERE "fid" = :db_condition_placeholder_0; Array"
[02-Feb-2022 08:28:16] WARNING: [pool www] child 1955 said into stderr: "("
[02-Feb-2022 08:28:16] WARNING: [pool www] child 1955 said into stderr: " [:db_condition_placeholder_0] => 3"
[02-Feb-2022 08:28:16] WARNING: [pool www] child 1955 said into stderr: ")"
[02-Feb-2022 08:28:16] WARNING: [pool www] child 1955 said into stderr: "" at /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php line 811"
2022/02/02 08:28:16 [error] 1928#1928: *396 FastCGI sent in stderr: "PHP message: Uncaught PHP Exception Drupal\Core\Entity\EntityStorageException: "SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE "fid" = '3'' at line 2: UPDATE "filehash" SET
WHERE "fid" = :db_condition_placeholder_0; Array
(
[:db_condition_placeholder_0] => 3
)
" at /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php line 811" while reading response header from upstream, client: 172.18.0.1, server: , request: "POST /user/1/edit HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "feditest.mindeco.de", referrer: "https://feditest.mindeco.de/user/1/edit"