- Issue created by @emmguyot
I too am having a similar problem. I have not had the time to really dive into webpack. I have not used that before. But it appears to be looking for a DOM element that doesn't exist. The other issue that is happening is with the Chosen module. This function must be running on any select change. I get the same error when I am simply using a chosen select. Once the error occurs, all JS is stopped, so nothing else on the page will function either. The details of the message are not too helpful, but :
Uncaught TypeError: this.document.querySelector(...) is null setDivHtmlByClassSelector /modules/contrib/permissions_by_term/js/webpack-dist/bundle.js?v=9.5.9:8 renderPermissionsInfo /modules/contrib/permissions_by_term/js/webpack-dist/bundle.js?v=9.5.9:8 r /modules/contrib/permissions_by_term/js/webpack-dist/bundle.js?v=9.5.9:1 t /modules/contrib/permissions_by_term/js/webpack-dist/bundle.js?v=9.5.9:1 jQuery 2 dispatch handle bundle.js:8:17670
I attempted to downgrade to 3.1.21 but that did not solve the problem for me.
If anyone can provide any "How-Tos" on setting up webpack, that would be helpful for me.
Thanks.
- 🇫🇷France Alexander94
I have a similar error with the last version of permissions by term :
this[(intermediate value)[r]] is not a function
I tried to use different display modes for tag field (autocomplete, checkbox, select) but the error persists.
Permissions are saved in the database when submitting form.