-
Notifications
You must be signed in to change notification settings - Fork 642
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
[4.x]: Eager loading broken #12648
Comments
I reverted back to 4.3.7.1 and it's working again |
I had a similar experience: #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 |
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
The text was updated successfully, but these errors were encountered: