Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work anymore in 6.4.16.1 #12

Open
Ambertvu opened this issue Nov 1, 2022 · 2 comments
Open

Does not work anymore in 6.4.16.1 #12

Ambertvu opened this issue Nov 1, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Ambertvu
Copy link

Ambertvu commented Nov 1, 2022

As title, element no longer shows in frontend since 6.4.16.x

@vienthuong
Copy link
Owner

Hi @Ambertvu, tks for reporting that. I will take a look :)

@vienthuong vienthuong self-assigned this Nov 3, 2022
@vienthuong vienthuong added the bug Something isn't working label Nov 3, 2022
@notfalsedev
Copy link

Had the same problem with Shopware version 6.4.15.0.
Fixed the issue by changing the services.xml.

From:

<service id="RecentlyViewedProduct\DAL\FieldSerializer\RecentProductFieldSerializer">
    <argument type="service" id="Shopware\Core\Framework\DataAbstractionLayer\DefinitionInstanceRegistry"/>
    <argument type="service" id="validator"/>

    <tag name="shopware.field_serializer"/>
</service>

To:

<service id="RecentlyViewedProduct\DAL\FieldSerializer\RecentProductFieldSerializer">
    <argument type="service" id="validator"/>
    <argument type="service" id="Shopware\Core\Framework\DataAbstractionLayer\DefinitionInstanceRegistry"/>

    <tag name="shopware.field_serializer"/>
</service>

The order of the params has switched in the newest version of Shopware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants