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

Product List widget on 404 leads to Fatal Error #39510

Open
5 tasks
VladyslavSikailo opened this issue Dec 24, 2024 · 1 comment
Open
5 tasks

Product List widget on 404 leads to Fatal Error #39510

VladyslavSikailo opened this issue Dec 24, 2024 · 1 comment

Comments

@VladyslavSikailo
Copy link
Contributor

VladyslavSikailo commented Dec 24, 2024

Preconditions and environment

  • Magento version 2.4.7-p3

Steps to reproduce

  • Install sample data
  • Open backoffice, go to Content->Pages
  • Find "404 Not Found", click Edit
  • Edit Content
  • Add pagebuilder "Products" block, Save
  • Open frontend {magento_url}/foo/bar/baz//hello

Expected result

  • 404 Not found page is rendered
  • Products block is rendered

Actual result

  • Fatal Error is shown TypeError: Unsupported operand types: string + int in /var/www/html/vendor/magento/framework/Data/Collection.php:245

Additional information

  • look how collection is built in vendor/magento/module-catalog-widget/Block/Product/ProductsList.php
  • $this->getRequest()->getParam($this->getData('page_var_name'), 1) returns "hello"

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Copy link

m2-assistant bot commented Dec 24, 2024

Hi @VladyslavSikailo. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready for Confirmation
Development

No branches or pull requests

1 participant