Support » Plugin: Autoptimize » js file error

  • Resolved doogis


    I am using a customer center plugin called aios.
    However, using the Autoptimize plug-in will cause the error symptoms.
    I have found this error via Google Chrome Developer Tools.

    Homepage address:

    js exception : js/jquery/jquery.js, wp-content/plugins/di-aiosc-1/

    tickets-list.js?ver=2d13e72aa9516cedaea77d1ca6360c24:1 Uncaught TypeError: $(…).ajaxForm is not a function
    at HTMLDocument.<anonymous> (tickets-list.js?ver=2d13e72aa9516cedaea77d1ca6360c24:1)
    at i (jquery.js?ver=1.12.4:1)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:1)
    at Function.ready (jquery.js?ver=1.12.4:1)
    at HTMLDocument.K (jquery.js?ver=1.12.4:1)

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Optimizing Matters


    I had a look in Chrome @doogis, but I don’t see any such error. I also looked for tickets-list.js (in which the error is triggered) in the un-optimized and optimized page source, but it’s not there. So maybe this only happens for you as a logged on user?

    Thank you for your reply.
    I skipped the test account and did not create it.
    This symptom occurs only if you are log-in.
    The following are test accounts.

    ID : uchat2test
    password : uchat2test

    Thank You

    • This reply was modified 1 year, 11 months ago by doogis.
    Plugin Author Optimizing Matters


    OK, it looks as though you’re only excluding wp-content/plugins/di-aiosc-1/assets/js/tickets-list.js, but you’ll have to exclude wp-content/plugins/di-aiosc-1/assets/js/ entirely. can you double-check exclusions and then clear any cache you might have?

    Thank you for your quick reply.
    I tried a lot before I asked.
    wp-content / plugins / di-aiosc-1 / assets / js / tickets-list.js
    wp-content / plugins / di-aiosc-1 / assets / js /
    wp-content / plugins / di-aiosc-1 /

    I applied this “wp-content / plugins / di-aiosc-1 / assets / js /” now.

    Thank You

    Can anyone help me?
    This issue is not yet resolved.

    Plugin Author Optimizing Matters


    sorry, didn’t realize it was still broken 🙂

    the di-aiosc-1 exclusions are OK, can you also exclude js/jquery/jquery.form.min.js and disable “try/catch wrapping”?

    Thank you for your reply.
    I admired your kind answer!
    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘js file error’ is closed to new replies.