• Plugin was not running because of missing exif and filinfo.

    Attempting to deactivate results in the following error:

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class “ImageOptimization\Modules\Core\Module” not found in …/wp-includes/class-wp-hook.php:341

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Elementor Team

    (@talmo)

    Hi @hube2

    This is triggered due to missing configuration on your server side.

    Basically, the plugin is trying to do its job, but it lacks the core tools to do so:

    exif is needed to read image metadata (like orientation, camera data, or creation date).

    fileinfo (often spelled fileinfo, typoed as filinfo in some logs) is required to safely detect the actual file type of your images.

    To get your plugin up and running, you just need to enable these two extensions in your server’s PHP configuration.

    Thread Starter John Huebner

    (@hube2)

    I was more concerned about not being able to deactivate it due to the fatal error. To deactivate I had to use FTP to delete the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.