-
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
[3.x]: Uncaught TypeError: Cannot read properties of undefined (reading 'on') Matrix Blocks #13194
Comments
Hi, thanks for reaching out. I can’t seem to replicate this behaviour on a clean Craft 3.8.10.2 installation. |
@i-just. Thanks, I've just sent over our composer.json and config/project contents. |
@jamesmacwhite, thanks for sending over the files; I can now reproduce it on a clean Craft 3 installation. |
Ah good find! I'm glad you could reproduce this because I was going crazy! |
@i-just Thanks for the quick PR on this. As this has unfortunately gone onto our production environment, do we have an estimate of a new point release? |
The PR is merged in. We’ll get a release out shortly! |
Amazing, thank you for rapid response and release. |
Craft 3.8.11 is out with the fix :) |
Awesome, thank you |
What happened?
Description
Since updating to 3.8.10.2 I am unable to click on block within a matrix field which has several types, but not enough to display the add a block menu.
The following JS console error is raised upon clicking on any block.
This seems related to #13177 but the reverse problem.
Steps to reproduce
None of these blocks work in a site.
If a matrix field has many blocks which displays the "Add a block" menu, this works.
Expected behavior
To be able to add a block from any Matrix field.
Actual behavior
No matrix block can be added
Craft CMS version
3.8.10.2
PHP version
8.0
Operating system and version
WSL2 Ubuntu Linux
Database type and version
MySQL 8
Image driver and version
No response
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered: