It seems to be related to EWWW plugin too.
It says on line 107 of wp-content/plugins/ewww-image-optimizer-cloud/classes/class-eio-alt-webp.php there is Uncaught Error: Call to undefined method Amazon_S3_And_CloudFront::get_provider()
For now you can change:
$s3_domain = $as3cf->get_provider()->get_url_domain( $s3_bucket, $s3_region, null, array(), true );
To:
$s3_domain = $as3cf->get_storage_provider()->get_url_domain( $s3_bucket, $s3_region, null, array(), true );
Seems they renamed/removed a function and didn’t replace everywhere it was used.
Same issue here, @nocaredev, so replacing the code allows the EWWw plugin to be re-activated without crashing admin dashboard, but all features of the plugin besides its basic mode are still giving fatal errors.
-
This reply was modified 6 months ago by
bobmorain.
I believe there is a new version of EWWW Image Optimizer that fixes the problem.