-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imagesavealpha() expects parameter 1 to be resource, boolean given #20913
Comments
A image is broken. We can't create a preview. Yep we should check if a resource is given for imagesavealpha. |
Is this Issue still valid in NC21.0.2? If not, please close this issue. Thanks! :) |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Yes, just appeared again yesterday on my instance with NC21.0.4:
|
Signed-off-by: Simon Spannagel <[email protected]>
…ource Fix #20913: Check image resource before attempting to preserve alpha
Signed-off-by: Simon Spannagel <[email protected]>
Signed-off-by: Simon Spannagel <[email protected]>
[stable21] Fix #20913: Check image resource before attempting to preserve alpha
…ve alpha Signed-off-by: Simon Spannagel <[email protected]>
Steps to reproduce
Most probably relates to thumbnail generation:
The exact message is:
Operating system:
Ubuntu 18.04.4 LTS
Web server:
apache2 - 2.4.29-1ubuntu4.13
Database:
mysql-5.7
PHP version:
php7.2-fpm
imagemagick 8:6.9.7.4+dfsg-16ubuntu6.8
Nextcloud version: (see Nextcloud admin page)
18.0.4 (currently the latest)
Updated from an older Nextcloud/ownCloud or fresh install:
started years ago and upgrading since then
Where did you install Nextcloud from:
official site
Signing status:
List of activated apps:
Nextcloud configuration:
What exact part is needed?
Are you using external storage, if yes which one: local/smb/sftp/...
No.
Are you using encryption: yes/no
No.
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No.
Client configuration
Browser:
N/A
Operating system:
N/A
Logs
Web server error log
Nothing related.
Browser log
N/A
The text was updated successfully, but these errors were encountered: