-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Array sizes are inconsistent #2533
Comments
Judging from your stack trace you are still on Isotope 2.8.x. Does the issue occur in Isotope 2.9.0 as well? |
I'm actually on |
Your error message says
The error message cannot originate from The error message likely originates from Isotope
|
Sorry for the confusion. I am on |
What do the translations look like? I could imagine that products are translated two two languages but not to all of them? Or one is the fallback? |
I'm not quite sure what you mean. Some of the product data is translated in all 3 languages, some are not and using the fallback translation. |
Can you maybe screenshot the backend product configuration for all three languages? |
What configuration do you mean? There are only some core fields that are enabled for translation (name, teaser, description). |
or maybe provide a dump of these products so I can reproduce this locally? |
I have a multilingual shop where all 3 languages are using exactly the same modules and even the products published in these languages are the same. It works for two languages withouth any problem but on the third language I receive the following error in the product list:
I could not figure out why it happens in the first place but
$arrProducts
contains way more entries than$arrParam[0]
https://github.com/isotope/core/blob/2.9/system/modules/isotope/library/Isotope/Model/Product.php#L562-L563
To fix the problem momentarily I've added a quick hotfix which makes sure that
$arrProducts
only contains the products listed in$arrParam[0]
The text was updated successfully, but these errors were encountered: