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

Uncaught Error: Call to a member function getReviewsCount() on string #1

Open
olivercastro opened this issue Nov 2, 2019 · 1 comment

Comments

@olivercastro
Copy link

olivercastro commented Nov 2, 2019

Getting Undefined member function on Magento 2.3.3 on PHP 7.1

vendor/creativestyle/magesuite-product-tile/Model/Tile/Fragment/Review.php:47

On line 45, I've added an is_object check on $ratingSummary variable.

This error seem to occur for products without reviews yet.

@krzksz
Copy link

krzksz commented Nov 20, 2019

Hey @olivercastro, thanks for the hint!
It seems like fetching of reviews summary changed between Magento 2.3.2 and 2.3.3. We are working on a fix which would cover both versions in a backward compatible manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants