• Resolved alejandrofm

    (@alejandrofm)


    Hello team,

    I appreciate if you can help me with this minor problem in Internet Explorer 11.

    I already have installed the last version of WP, Autoptimize and I am excluding the following scripts: js/jquery/jquery.js,webfontloader.js,jquery.flexslider-min.js

    When I am using IE the cart in the top menu is not working, the product images are not working, etc.

    SCRIPT1002: Syntax error
    File: autoptimize_b21932cf5072985d085c1f813736ecb4.php, Line: 29, Column: 148

    I do not know what is the problem and I do not know what other files I need exclude to avoid the console error.

    Thank you very much!

    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

    (@optimizingmatters)

    seems to be in the JS of a social sharing plugin or something, maybe try to exclude that? ??

    Thread Starter alejandrofm

    (@alejandrofm)

    Thank you.

    Do you know the script name to exclude it?

    ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    try adding wp-content/plugins/super-socializer/ to AO’s JS optimization comma-separate exclusion list ??

    Thread Starter alejandrofm

    (@alejandrofm)

    Hello, thank you very much for your quick response!

    I have added the path as you told me but I am still having problems in IE11….

    The result in the AO’s exlusion:

    js/jquery/jquery.js,webfontloader.js,jquery.flexslider-min.js,wp-content/plugins/super-socializer/

    I have deleted the cache of everything and the problem is there.

    Thank you.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, so is the error exactly the same?

    Thread Starter alejandrofm

    (@alejandrofm)

    Solved, I have disabled the javascript optimization and the pluign for referrer to a friend is the problematic sript.

    I have excluded gens-raf-public.js and now everything works fine but I dont know why the autoptitmize file is still getting me error although it does not affect the operation of other elements of the web at first sight.

    Thank you.

    • This reply was modified 6 years, 4 months ago by alejandrofm.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Solved, I have disabled the javascript optimization and the pluign for referrer to a friend is the problematic sript.

    great catch Alejandro!

    I dont know why the autoptitmize file is still getting me error although it does not affect the operation of other elements of the web at first sight.

    I’m seeing “ReferenceError: WebFont is not defined” but I also see that error when AO is disabled (by adding ?ao_noptimize=1 the URL), seems to be part of JS to trick google pagespeed insight to give a better score ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Some script problems in Internet Explorer’ is closed to new replies.