Problem upload and edit image ckeditor5

Created on 23 January 2024, 10 months ago

Problem/Motivation

When you try to upload an image from ckeditor or use the entity browser module, an error 500 is generated and checking the server I get this message:

FastCGI sent in stderr: "PHP message: Uncaught PHP Exception TypeError: "stream_copy_to_stream(): Argument #1 ($from) must be of type resource, bool given" at /var/www/example.com/modules/contrib/clamav/src/Scanner/DaemonUnixSocket.php line 40" while reading response header from upstream, client: 100.6.34.150, server: example.com, request: "POST /ckeditor5/upload-image/full_html?token=emmMIjDSdBc0ZOTcaX3TvE1SO24Yl6vK9JvFwNULTTw HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock:", host: "example.com", referrer: "https://example.com/node/250/edit"

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024