• Resolved mwassmer

    (@mwassmer)


    When I put a SlickrFlickr gallery on the same page as a chart using the amCharts plugin, I get errors related to both plugins. The SlickrFlickr error is “Uncaught TypeError: undefined is not a function” on Line 118 ( “jQuery(this).galleria($options);”) in public.js?ver=2.3.3:118. The amCharts error is “Uncaught TypeError: Cannot read property ‘getJSON’ of undefined”. I’m guess this has something to do with the way that each plugin uses jQuery, but I’m not experienced enough with plugin development to know this for sure.

    On my homepage, I would like to add the following code:

    <h3>Recent Photos</h3>
    [slickr-flickr type="galleria" size="medium" items="20" options="imageCrop:false; transition:pulse"]

    However, adding this code causes the errors described above. When I get rid of my chart code, the SlickrFlickr code works, and vice versa. In other words, both plugins work only when either a) one of them is deactivated; OR b) the page contains an amChart OR a SlickrFlickr gallery, but not both. Therefore, I’m not sure which plugin is causing the problem.

    https://wordpress.org/plugins/slickr-flickr/

Viewing 1 replies (of 1 total)
  • Thread Starter mwassmer

    (@mwassmer)

    Please disregard my previous post. Apparently, the problems are occurring because I did not properly register jQuery in my amCharts code.

Viewing 1 replies (of 1 total)
  • The topic ‘Possible jQuery conflict with another plugin’ is closed to new replies.