Support » Plugin: Dynamic Content Gallery » DCG WPML Strange Error

  • Resolved psa234


    Hey, there! I’m using WPML to switch between English and Ukrainian on our church’s website. I added the DCG code to one of the template files in order to display it on pages other than the home page. When I have English as the default language, it displays on both languages, but when the default language is Ukrainian, it only displays on the English side. I get the following error in my browser console:

    Uncaught TypeError: Cannot call method ‘addClass’ of null jd.gallery_1_2_4_4.js:118
    gallery.initialize jd.gallery_1_2_4_4.js:118
    extend._owner mootools-1.2.4-core-jm.js:34
    (anonymous function) mootools-1.2.4-core-jm.js:32
    startGallery ?lang=uk:73
    returns mootools-1.2.4-core-jm.js:24
    (anonymous function) mootools-1.2.4-core-jm.js:24
    (anonymous function) mootools-1.2.4-core-jm.js:65
    Native.implement.fireEvent mootools-1.2.4-core-jm.js:65
    domready mootools-1.2.4-core-jm.js:106

    Any ideas? 😀

Viewing 1 replies (of 1 total)
  • Nevermind! 😀 I got it! I just changed the javascript options to jquery instead of mootools.

Viewing 1 replies (of 1 total)
  • The topic ‘DCG WPML Strange Error’ is closed to new replies.