FriendsOfShopware / FroshPlatformThumbnailProcessor

This shopware6 plugin allows you to use variable thumbnails - on the fly.
MIT License
20 stars 13 forks source link

MediaUrlPlaceholderHandler::__construct(): Argument #2 ($mediaUrlGenerator) must be of type Shopware\Core\Content\Media\Infrastructure\Path\MediaUrlGenerator #140

Closed tinect closed 3 months ago

tinect commented 3 months ago

PHP Version

-

Shopware Version

6.6.5.0

Plugin Version

-

Actual behaviour

throws exception:

Shopware\Core\Content\Media\MediaUrlPlaceholderHandler::__construct(): Argument #2 ($mediaUrlGenerator) must be of type Shopware\Core\Content\Media\Infrastructure\Path\MediaUrlGenerator, Frosh\ThumbnailProcessor\Core\Media\MediaUrlGenerator given

Expected behaviour

no exception

Steps to Reproduce?

install plugin, visit storefront.

tinect commented 3 months ago

This plugin is at the moment not compatible with shopware 6.6.5.0.

PR at shopware created: https://github.com/shopware/shopware/pull/3831

tinect commented 3 months ago

Waiting for release. It should be fixed with 6.6.5.1: https://github.com/shopware/shopware/commit/8665331f3f7d43398f44fb3273dce9920da0ac46

tinect commented 3 months ago

Shopware released the fix with additional security fixes. Users should therefore use 6.6.5.1 instead of 6.6.5.0