• Hello, using latest plugin version, with latest WP and latest Enfold Theme (4.5).

    When using Ditty ticker and clicking the Enfold mobile menu, I get a JS easing loop error and the menu doesn’t load. It looks something like:

    jQuery.easing[jQuery.easing.def] is not a function

    I’m not sure how it’s getting triggered and if there is more at play, but if I disable the Ditty plugin, the menu and site loads OK.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    Do you have a URL to your site for me to check out (just the front end)?

    It sounds like the jquery.easing script may not be loading on your site for some reason, or there may be a non-standard version of jQuery being loaded by your theme or another plugin.

    Thread Starter KS

    (@karl19)

    Many thanks for the quick reply. Unfortunately I can’t reactivate the plugin as it breaks the mobile menu and the site is live.

    In Enfold, it seems like the LayerSlider is using easing, but I can’t quite tell what might cause a conflict there. Perhaps it’s something else.

    Apologies about not being able to provide more details, I will have to look further.

    Plugin Author metaphorcreations

    (@metaphorcreations)

    No worries. I still wouldn’t mind looking at your site. Even without Ditty activated I may be able to see something in the HTML that may give me some clues as to what’s going on.

    Thread Starter KS

    (@karl19)

    Sure, that would be very kind. It’s for a client site, so I can’t publish the URL, but I’ve emailed it to you on your website – hope that’s OK. Thanks!

    Plugin Author metaphorcreations

    (@metaphorcreations)

    That works for me. Thanks!

    Plugin Author metaphorcreations

    (@metaphorcreations)

    I checked out your site and see that you are running a minifier on it. I believe if you switched this off everything would probably work fine.

    With that being said, I’m not positive why the minifier is running into this issue… But, it may be due to how my scripts are setup to load. I was registering certain scripts and only loading them if a ticker was present, but I think this may be an issue when a minifier is being used as it doesn’t compile correctly. I made an update to the plugin to just enqueue the scripts regardless, so please update when you can and let me know if you still have the issue.

    If this works, then I’ll spend a bit more time trying to figure out how to merge the 2 scenarios so the scripts compile correctly with a minifier, yet still only load if a ticker is visible.

    Thanks!

    Thread Starter KS

    (@karl19)

    Apologies for the late reply! Yes, the site is running WP Super Cache (and Autoptimize), if I update your plugin, disable WP Super Cache, then the ticker and mobile menu seem to function on the main page, but I’m getting an easing error and non-functioning mobile menu on other pages. So something still seems to be causing an error. For now I’ve disabled the ticker plugin again.

    Could be due to Autoptimize, maybe re-try with Autoptimize disabled on a per-request basis by adding ?ao_noptimize=1 to the URL or temporarily disabling JS optimization.

    if the problem is not there at that point, some autoptimize (re-)configuration might be needed to fix this. there are troubleshooting tips and info on how to exclude in the AO FAQ.

    hope this helps debugging,
    frank (ao dev)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘JS easing conflict’ is closed to new replies.