Closed vandres closed 1 year ago
I reverted back to 4.3.7.1 and it's working again
I had a similar experience: https://github.com/craftcms/cms/issues/12651
With regular Craft though, not Craft Commerce.
I am also seeing an issue with 4.3.8.1 and eager loading matrix blocks. Getting Undefined array key 0 error. Downgraded to 4.3.7.1 and everything is working again.
The error is thrown if the entry does not contain the block which is being eager loaded.
I just got this error too, I'll downgrade in the meanwhile
I also got this error on my end Undefined array key 0
from the method getEagerLoadingMap()
.
I think w are also seeing this in Craft 3 - 3.7.65.1
, downgrading to 3.7.65
fixes, for us was with logged in users only, but same error Undefined offset: 0
:
Not sure if you would prefer me to open a separate issue for Craft 3? I have also grabbed a snapshot of production logs if helpful.
I think w are also seeing this in Craft 3 -
3.7.65.1
, downgrading to3.7.65
fixes, for us was with logged in users only, but same errorUndefined offset: 0
:Not sure if you would prefer me to open a separate issue for Craft 3? I have also grabbed a snapshot of production logs if helpful.
I had the same error on 3.7.65.1
Sorry about this. 3.7.65.2 and 4.3.8.2 are both out with a fix for this!
What happened?
Description
I updated to Craft 4.3.8 and 4.3.8.1 afterwards. Since then eager loading stopped working, if the relation is empty or not set in the field layout.
We use Craft Commerce and have products, which can have allergy information. But not every product type has that information and the relation is optional.
Stack trace
Steps to reproduce
Expected behavior
Eager loading is working
Actual behavior
Eager loading is broken
Craft CMS version
4.3.8.1
PHP version
8.1
Operating system and version
MacOS, Debian Docker
Database type and version
MariaDB 10.5
Image driver and version
-
Installed plugins and versions