Closed davidbru closed 6 months ago
Hi @davidbru,
Interesting. Thanks for the heads up (and for the very detailed report), I'll look into it ASAP.
@cabrerahector No problem. For now I reverted back to the old version (which works just fine).
Hey @davidbru,
This commit fixed the issue on my end. You can either wait for the official update to be released via wordpress.org (which should happen some time early January) or if you prefer to not wait then update the plugin, disable it, manually add that change to src/Image.php
, and then enable the plugin again.
Hay @cabrerahector, thanks for the quick info. With your bugfix everything works fine. Cheers, David
Describe the problem
My theme uses an array for the crop value. See the following two examples
large
vstd_218x150
.According to https://developer.wordpress.org/reference/functions/add_image_size/ this is ok. But since updating from version 5.4.2 to 6.3.4 the frontend throws the following error:
As far as I can tell the plugin expects a boolean value, and stumbles over the array definition.
Steps to reproduce it
Expected behavior
The plugin should not throw an error.
Screenshots
Environment
Additional context