Solved Optimize Attachments failing on .pdf

This topic has been solved
C

cdarsch

Guest
I ran Optimize Attachments and got the following error:

  • ErrorException: [E_WARNING] imagewebp(): gd-webp encoding failed
  • src/XF/Image/Gd.php:224
  • Generated by: Christo
  • Feb 25, 2025 at 10:31 AM

Stack trace​

#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] ima...', '/home/gmcrvfor/...', 224)
#1 src/XF/Image/Gd.php(224): imagewebp(Object(GdImage), '/home/gmcrvfor/...', 85)
#2 src/XF/Image/AbstractDriver.php(285): XF\Image\Gd->_optimizeImage('/home/gmcrvfor/...', 85)
#3...

Read more

Continue reading...