you just need hold on the upgrade of ImageMagick ,FYI, running update with--allowerasing
fixes it, until the next auto-update of Plesk reverts it back. I'll add the exclude and periodically retry without it.
yum update --allowerasing
dnf update --exclude="ImageMagick*"
,It removes the Plesk version of the dependencies but installs the correct version of ImgaMagick-libs and everything seems happy. It's a clean system, though, so I haven't been able to test ImageMagick afterwards yet.you just need hold on the upgrade of ImageMagick ,dnf update --exclude="ImageMagick*"
,
--allowerasing will remove dependencies of ImgaMagick-libs , so is not a good solution
HelloWill be fixed in Plesk 18.0.45.
No ETA yet.
same for me!Hello
I updated 2 machines to 18.0.45 (Almalinux 8) and this issue continues.
Guys, sorry for the delay. This issue was shifted to 18.0.46 as PPP-57207 because of the difficulties encountered.
It works now, thanks!Hello,
The problem is resolved in recent PHP update. Please let me know if you still have the problems.
Hello,After getting the new plesk-php73-imagick and plesk-php71-imagick Plesk updates it seems like some of the methods are now are missing like Imagick::setImageInterpolationMethod() is now gone .. Were come compile flags not set correctly?
Thanks for checking! I think the developer that told me this just made an error.Update: seems the method is actually named Imagick::setImageInterpolateMethod, but it either doesn't exists before update (for PHP 7.1), or exists in both versions (7.2 - 8.1)
rpm -qa | grep plesk-php71-imagick
plesk-php71-imagick-3.4.3-1centos.8.211108.1944.x86_64
/opt/plesk/php/7.1/bin/php -r '$i=new Imagick();$i->setImageInterpolateMethod(IMG_MITCHELL);'
PHP Fatal error: Uncaught ImagickException: Can not process empty Imagick object in Command line code:1
Stack trace:
#0 Command line code(1): Imagick->setimageinterpolatemethod(15)
#1 {main}
thrown in Command line code on line 1
rpm -qa | grep plesk-php71-imagick
plesk-php71-imagick-3.4.3.1-1centos.8.220712.1057.x86_64
/opt/plesk/php/7.1/bin/php -r '$i=new Imagick();$i->setImageInterpolateMethod(IMG_MITCHELL);'
PHP Fatal error: Uncaught Error: Call to undefined method Imagick::setImageInterpolateMethod() in Command line code:1
Stack trace:
#0 {main}
thrown in Command line code on line 1
Thanks for the report, I'm able to reproduce the problem on test box. I'll create the issue with id PPP-57747 to address this problem.@mizar actually the update for Plesk PHP 7.1 is missing the function which worked before:
Old version:
Code:rpm -qa | grep plesk-php71-imagick plesk-php71-imagick-3.4.3-1centos.8.211108.1944.x86_64 /opt/plesk/php/7.1/bin/php -r '$i=new Imagick();$i->setImageInterpolateMethod(IMG_MITCHELL);' PHP Fatal error: Uncaught ImagickException: Can not process empty Imagick object in Command line code:1 Stack trace: #0 Command line code(1): Imagick->setimageinterpolatemethod(15) #1 {main} thrown in Command line code on line 1
After updating:
Code:rpm -qa | grep plesk-php71-imagick plesk-php71-imagick-3.4.3.1-1centos.8.220712.1057.x86_64 /opt/plesk/php/7.1/bin/php -r '$i=new Imagick();$i->setImageInterpolateMethod(IMG_MITCHELL);' PHP Fatal error: Uncaught Error: Call to undefined method Imagick::setImageInterpolateMethod() in Command line code:1 Stack trace: #0 {main} thrown in Command line code on line 1