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

Warning message when we click to view product from emailer #4018

Closed
Devanshi-pachouli opened this issue Apr 5, 2016 · 4 comments
Closed
Assignees
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@Devanshi-pachouli
Copy link

Steps to reproduce

  1. Go and check and product
  2. Add product to MyWishlist
  3. Share the wishlist to any email id
  4. Go to the inbox and check the email, click the image, prduct name link or view product link.

Expected result

  1. The expected product should be displayed.
  2. ...

Actual result

  1. It is giving Warning message.(Warning: Illegal offset type in isset or empty in /home2/kidsafet/public_html/vendor/magento/module-store/Model/StoreRepository.php on line 54)
  2. Please find the attachment.
    image
@moe-kayali
Copy link

Hello,

I was able to reproduce the same issue on Magento 2.0.4.
How Reproducible: Always.

Thanks,

@moe-kayali
Copy link

It seems that the issue is related to store view.

If you have the default store view ONLY, then the error won't be found and you will be redirected to the product page view, and it works fine.

But, if you add a new store view whether it's enabled or disabled, the issue will appear and the error will be found.

Hope this will make it easier for you guys to find out what is going on.

Thanks,

@sevos1984
Copy link
Contributor

I've got the same error when storeview is disabled. Internal ticket MAGETWO-51679

@slavvka slavvka added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report labels Apr 14, 2016
@slavvka
Copy link
Member

slavvka commented May 18, 2016

@Devanshi-pachouli, the fix has been delivered to mainline. Please see 5c93580. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

5 participants