-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
PHP 8.1 TypeError: imagecopymerge(): Argument #9 ($pct) must be of type int in GD when custom watermark image is applied #3727
Labels
Comments
Tomasz-Silpion
added a commit
to Tomasz-Silpion/magento-lts
that referenced
this issue
Jan 9, 2024
4 tasks
I had the exact same thing a week ago:
Set the product watermark opacity to some integer value: |
Tomasz-Silpion
added a commit
to Tomasz-Silpion/magento-lts
that referenced
this issue
Jan 10, 2024
fballiano
pushed a commit
that referenced
this issue
Feb 2, 2024
…fixes #3727 (#3736) * Added helper methods to cast getStoreConfig to int or float * Use Mage::getStoreConfigFlag() --------- Co-authored-by: Ng Kiat Siong <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Watermark is properly applied to the product image.
Actual result (*)
TypeError: imagecopymerge(): Argument #9 ($pct) must be of type int, string given exception is thrown in lib/Varien/Image/Adapter/Gd2.php:504
The text was updated successfully, but these errors were encountered: