Since D10.3 \Drupal\image\Controller\ImageStyleDownloadController::deliver accepts 4 arguments instead of 4
So on D10.3 installations there is a fatal error when enabling this module:
Fatal error: Declaration of Drupal\imageapi_optimize_avif_webp\Controller\ImageStyleDownloadController::deliver(Symfony\Component\HttpFoundation\Request $request, $scheme, Drupal\image\ImageStyleInterface $image_style) must be compatible with Drupal\image\Controller\ImageStyleDownloadController::deliver(Symfony\Component\HttpFoundation\Request $request, $scheme, Drupal\image\ImageStyleInterface $image_style, string $required_derivative_scheme) in /var/www/html/web/modules/contrib/imageapi_optimize_avif_webp/src/Controller/ImageStyleDownloadController.php on line 36
Use this patch
I think you should install some libraries as for HEIF
version 1.1.3 fixed
Check your PHP version. https://www.php.net/manual/en/function.imageavif.php
Needs review
Here you go https://estar-solutions.com/porto-theme-drupal/
Here you go https://estar-solutions.com/porto-theme-drupal/
Did you update your Drupal site to version 10 ?
You can contact directly to me :
Telegram: @emprisestar
Skype: emprise_star
Email: emprisestar@gmail.com
fixed with version 1.5.3
Fixed with 1.5.2
Fixed with 1.5.2
Resolved in version 1.5.2.
Can you flush all Image Style ?
Module Requirements:
1. If using ImageMagick tookit then latest version of ImageMagick extension with 'Images format' AVIF must be enabled.
2. If using GD toolkit then PHP 8.1+ and php-gd extension must be enabled.
The problem will be resolved by
replacing 'FollowSymLinks' with 'SymLinksIfOwnerMatch' in 2 files :
drupal_root/.htaccess
drupal_root/sites/default/files/advagg_js/.htaccess
HoangD β made their first commit to this issueβs fork.
HoangD β made their first commit to this issueβs fork.
Use the below format
$variables['output'] = [
'#markup' => "<div><strong>Changing the output of a view field</strong></div>",
'#allowed_tags' => ['div','strong']
];