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

Plugin 'sometimes' breaks down the frontend #13

Open
Ambertvu opened this issue Jan 18, 2023 · 1 comment
Open

Plugin 'sometimes' breaks down the frontend #13

Ambertvu opened this issue Jan 18, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Ambertvu
Copy link

Breaks the page (sometimes) for some reason, throwing the following error in log:

[2023-01-18T10:48:46.125553+00:00] request.CRITICAL: Uncaught PHP Exception TypeError: "RecentlyViewedProduct\Service\RecentlyViewedProductService::saveRecentProductCollection(): Argument #2 ($context) must be of type Shopware\Core\System\SalesChannel\SalesChannelContext, null given, called in /data/web/shopware/custom/plugins/RecentlyViewedProduct/src/Service/RecentlyViewedProductService.php on line 223" at /data/web/shopware/custom/plugins/RecentlyViewedProduct/src/Service/RecentlyViewedProductService.php line 111 {"exception":"[object] (TypeError(code: 0): RecentlyViewedProduct\Service\RecentlyViewedProductService::saveRecentProductCollection(): Argument #2 ($context) must be of type Shopware\Core\System\SalesChannel\SalesChannelContext, null given, called in /data/web/shopware/custom/plugins/RecentlyViewedProduct/src/Service/RecentlyViewedProductService.php on line 223 at /data/web/shopware/custom/plugins/RecentlyViewedProduct/src/Service/RecentlyViewedProductService.php:111)"} [

@vienthuong vienthuong self-assigned this Jan 18, 2023
@vienthuong
Copy link
Owner

Its also a compatible issue I suppose, which shopware version are you using @Ambertvu

@vienthuong vienthuong added the bug Something isn't working label Jan 18, 2023
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

2 participants