Call to undefined method Drupal\system\Plugin\ImageToolkit\GDToolkit::getResource()

Created on 6 February 2025, about 2 months ago

Problem/Motivation

Error:
Call to undefined method Drupal\system\Plugin\ImageToolkit\GDToolkit::getResource()
/mysite/modules/contrib/imageapi_optimize_webp/src/Plugin/ImageAPIOptimizeProcessor/WebP.php:25

Uncaught PHP Exception Error: "Call to undefined method Drupal\system\Plugin\ImageToolkit\GDToolkit::getResource()" at WebP.php line 25

Steps to reproduce

Click to edit style in https://mysite.com/admin/config/media/image-styles
Second click doesn't generate this error...

I use ImageMagic module 4.0.2.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇨🇦Canada superfedya

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024