Skip to content

Conversation

@come-nc
Copy link
Contributor

@come-nc come-nc commented Dec 2, 2021

This avoids fatal errors on PHP>=8, and warnings on older versions.
Log should also be clearer.

Signed-off-by: Côme Chilliet come.chilliet@nextcloud.com

Fixes #29990

@come-nc come-nc self-assigned this Dec 2, 2021
@come-nc
Copy link
Contributor Author

come-nc commented Dec 2, 2021

/backport to stable23

@come-nc
Copy link
Contributor Author

come-nc commented Dec 2, 2021

/backport to stable22

@come-nc
Copy link
Contributor Author

come-nc commented Dec 2, 2021

/backport to stable21

@come-nc come-nc requested review from a team, ArtificialOwl, juliusknorr, nickvergessen and solracsf and removed request for a team December 2, 2021 11:03
@come-nc come-nc added the 3. to review Waiting for reviews label Dec 2, 2021
@come-nc come-nc force-pushed the fix/images-php-8.0-2 branch from e7dde95 to e5d69d4 Compare December 2, 2021 14:39
Copy link
Member

@solracsf solracsf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No more errors on my side. 👍

@come-nc come-nc force-pushed the fix/images-php-8.0-2 branch 2 times, most recently from d74f4aa to 1d76114 Compare December 6, 2021 09:26
This avoids fatal errors on PHP>=8, and warnings on older versions.
Log should also be clearer.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

imagedestroy(): Argument #1 ($image) must be of type GdImage, bool given

4 participants