• Resolved mangesh3381

    (@mangesh3381)


    Animation was working on my site very well since long time.

    but from some days, All the animations stopped working.

    I am using latest version of wordpress.

    Kindly help.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author eleopard

    (@eleopard)

    Hi Mangesh,

    Thanks for using the Animate It!

    I check the website, and theere is an issue with JS.

    "Uncaught SyntaxError: invalid regular expression flag a"

    These issue causes the other JS files to fail as well.

    Now, it looks like Autoptimize plugin is enabled, which is combining all the JS. Please disable it and let me know. That way, I should be able to pinpoint the plugin which might be causing this conflict.

    pro-tip; you can disable Autoptimize on a per-request basis by adding ?ao_noptimize=1 to the URL.

    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)

    Plugin Author eleopard

    (@eleopard)

    Thanks @optimizingmatters for the tip. This helped.

    @mangesh3381 There is definitely some script conflict.

    As when I visited the link, with Autoptimize disabled, the animations are working fine, with no error in console:
    https://www.shinybaba.com/mantrimalls-app-download-referral-code/?ao_noptimize=1

    So the issue is, when all the JS is combined, there is some conflict. What you an do is:
    1. Disable all plugins, and then enable them one by one, and rebuild Autoptimize JS

    2. Once you see the issue again, that particular plugin is the issue. So you can add an exception for it, so that its not combined by Autoptimize.

    Let me know if this helps.

    • This reply was modified 1 year, 2 months ago by eleopard.
    Thread Starter mangesh3381

    (@mangesh3381)

    there is issue with Autoptimize plugin. kindly give me the code to exclude from optimization

    Plugin Author eleopard

    (@eleopard)

    Hi @mangesh3381

    Like I explained before. You’d have to do some hit and trial to know which JS is actually causing the issue.

    1. Disable all plugins, and then enable them one by one, and rebuild Autoptimize JS

    2. Once you see the issue again, that particular plugin is the issue. So you can add an exception for it, so that its not combined by Autoptimize.

    Thread Starter mangesh3381

    (@mangesh3381)

    I tried this. but could not find the problematic plugin. I only left 6 plugins and was still facing the issue.

    only below plugins were active. all other plugins I disabled.

    first two plugins are security plugins i cannot disable.

    date remover plugin is for removing dates. i cannot disable

    short codes ultimate and ad inserter plugin is being used for button and ad code. animate it plugin in being used for animation.

    Kindly give me the code to exclude animate it plugin from autoptimize plugin. so that i can resolve the issue.

    Wordfence Security

    WP Cerber Security, Anti-spam & Malware Scan

    WP Meta and Date remover

    Shortcodes Ultimate

    Animate It!

    Ad Inserter

    Plugin Author eleopard

    (@eleopard)

    Hi Mangesh,

    If the conflict is caused by some other JS. Then too, it won’t work.
    The thing is, whenever there is a error in JS, all the other JS after it do not execute.

    You can try this. I hope it works:
    1. Go to: Autoptimize > JS/CSS & HTML > Exclude scripts from Autoptimize

    https://rextheme.com/wp-content/uploads/2020/10/Autoptimize-Settings.png

    2. Paste this to the input box:

    /wp-content/plugins/animate-it/assets/

    3. Save

    All the scripts are stored in the assets folder. So all the Animate It! scripts will be excluded now.

    Hope it works.

    Thread Starter mangesh3381

    (@mangesh3381)

    Thanks for the help.

    It is working now after excluding codes as suggested above.

    Problem solved.

    Plugin Author eleopard

    (@eleopard)

    Great. I am marking this issue resolved now. Please feel free to open it up, or start a new thread if you face any other issues.

    Plugin Author eleopard

    (@eleopard)

    marking it resolved

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘animation stopped working’ is closed to new replies.