1. David
  2. Bugs
  3. Sunday, 06 May 2018
  4.  Subscribe via email
Hi, I use CMC plugins on my site and recently upgraded either Joomla or another module and a Javascript error with CMC has now come to light. It seems like the error existed before the upgrade, but it did not prevent any other components (scripts) from loading as it does now, so I never sought to get it fixed.

When I enable the following module, I get a Javascript error:
CMC - Newsletter subscription, Site, Module, 4.1.0

I've now disabled the module on a couple of pages. The error is still present on my site homepage (https://echoactive.com), when I check Chrome Console, I get:

1. Uncaught TypeError: Cannot read property 'setAttribute' of null
at js-8ea63-99950.js:685
(anonymous) @ js-8ea63-99950.js:685

at 685...
pnProductNav.setAttribute("data-overflowing",determineOverflow(pnProductNavContents,pnProductNav));


2. (index):35 Uncaught TypeError: cmc is not a constructor
at HTMLDocument.<anonymous> ((index):35)
at i (js-3063e-99950.js:38)
at Object.fireWith [as resolveWith] (js-3063e-99950.js:38)
at Function.ready (js-3063e-99950.js:38)
at HTMLDocument.K (js-3063e-99950.js:38)

at 35...
jQuery(document).ready(function() {
new cmc("#cmc-signup-253";);
});
Responses (1)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Well, I don't see a cmc form on your page right now, but you still have 2 errors. You've minified your javscript, so I'm not sure what you have there, but the first error seems to come from here:
/templates/ja_obelisk/js/horizontal-scroller-bf.js

You'll have to ask joomlart what's wrong there.

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

Changes to the Submission form
Can you make changes to the Submission form? There are a few fields I'd like to ...
0 Replies
Posted on Thursday, 18 April 2024
  • New
  • Questions on new installation...
    Working on getting this set up... https://eastend2024.joepolecheck.com/rumma...
    2 Replies
    Posted on Wednesday, 17 April 2024
  • New
  • Error received? Class "XMLReader" not fo
    Just installed the Pro version of Hotspots, but am getting an error when I try t...
    1 Replies
    Posted on Wednesday, 17 April 2024
  • Resolved
  • New
  • Links aus Veranstaltungsübersicht funktionieren ni
    Nach der Migration von Joomla 3.10 auf Joomla 5.0.3 treten folgende Probleme auf...
    2 Replies
    Posted on Monday, 08 April 2024
    Custom Hotspot Marker fails to load
    I just updated from Joomla 3 to Joomla 4.3.4 and Hotspots 6.0.12. I decided to e...
    0 Replies
    Posted on Tuesday, 09 April 2024