Imaginary error


I have tried to use imaginary with docker, the service works with the tests for example.

"curl -O “^Caginary/master/testdata/large.jpg

but nextcloud returns error:

message": "Imaginary preview generation failed: Unable to read stream contents: Automatic conversion of false to array is deprecated.

I have tried with PHP 8.1 and 8.2

the imaginary configuration is

"‘enabledPreviewProviders’ => [
'OC\Preview “Krita”,

‘preview_imaginary_url’ => ‘http://localhost:9000’,"

Can anyone help me?

Same error here.

I found this mentioning the same error : Data corrupted on download from server error - #6 by tflidd

I finally downgrade my php version from 8.1 to 8.0 & the error disappeared.

1 Like

I will try, thank you