You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a temporary solution I modified the source code (/var/www/html/lib/private/legacy/OC_Image.php) like this:
public function getOrientation(): int {
// rest of the function
$this->exif = $exif;
+ if (gettype($exif['Orientation']) == 'array') {+ return -1;+ }
return $exif['Orientation'];
}
By returning -1, when an array is detected, the program continues its job. I can't do many experiments since this is a production environment.
The text was updated successfully, but these errors were encountered:
I'm running it again because I can't find the text file dump I made so I don't remember the exact file name. Can the error be triggered again without a full regeneration, like this?
Hello,
I'm running Nextcloud 26.0.11 and previewgenerator 5.4.0.
I am in the process of regenerating the image previews. Unfortunately I get this error:
As a temporary solution I modified the source code (
/var/www/html/lib/private/legacy/OC_Image.php
) like this:By returning -1, when an array is detected, the program continues its job. I can't do many experiments since this is a production environment.
The text was updated successfully, but these errors were encountered: