#1523 Posted in ‘CommentBox’

Latest post by Lefteris Kavadas on Thursday, 28 May 2026 14:46 EEST

Roland Wampers
Java Console error crashes my my ChronoForms8 
Trying to figure out why my ChronoForms8 form at https://vibel.be/about/contact-a does not work, using F12 Java Console, we found out that Commentbox produces the following error.
DISabling the Commentbox recaptcha plugin solves the ChronoForms8 issue 
Uncaught TypeError: can't access property "shadowRoot", m$ is null    rae https://vibel.be/media/commentbox/js/commentbox.min.js?1.3.0:375    rae https://vibel.be/media/commentbox/js/commentbox.min.js?1.3.0:375    v$/< https://vibel.be/media/commentbox/js/commentbox.min.js?1.3.0:1    https://vibel.be/media/commentbox/js/commentbox.min.js?1.3.0:375
Is there a solution for this problem? 
Thank you for your feedback
Roland

Lefteris Kavadas

Hi Roland,

Since the JavaScript file is loaded, the required CommentBox markup should also exist in the page. However, in your case it seems the markup is missing while the JS still executes, which explains the shadowRoot error.

Could you please let me know how you are hiding or removing the CommentBox markup from the page? For example, whether this is done through template overrides, custom JavaScript, conditional loading, CSS, or another extension/plugin.

Also, the recommended way to disable CommentBox on specific pages is through the "Exclude Menu Items" option in the component options. This ensures that both the markup and the related JavaScript are excluded correctly from those pages.

This information will help explain why the script is still initialized without the expected HTML container.

Kind regards,
Lefteris

Lefteris Kavadas

Hi Roland,

The issue you encountered is caused by the Gantry5 framework stripping the markup when it should not. It is not the template's role to decide on these integrations; it should respect the extension settings.

Regarding the configuration, users do not necessarily need to discover issues manually. CommentBox includes specific options for enabling or disabling the extension under certain extensions, in addition to the menu item exclusions previously mentioned.

Kind regards,
Lefteris

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review