Support » Plugin: Autoptimize » autoptimize conflicting with responsive menu plugin

  • Resolved Manikandan

    (@myselfmani)


    Hi,

    Thank you very much for this wonderful plugin.

    Responsive menu plugin is conflicting with Autoptimze.

    Please help to fix this issue.

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

    (@optimizingmatters)

    have a look at the FAQ for info on troubleshooting @myselfmani; this is _probably_ as JS optimization issue and excluding the responsive menu’s JS from JS optimization will likely fix the issue.

    hope this helps,
    frank

    Hello, I have the same problem as you. When I active the plugin my menu disappears. I would like to find a way but I can’t find any link that explain how. Could you please help me out?

    Thank you.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    So did you have a look at troubleshooting tips in the FAQ @antonioesposito?

    Yes I did but as I am not an expert probably I do not know how to recognise the right one. Could you please help me? =)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, as explained in the FAQ; first step is running AO with only JS or only CSS optimization, this will tell you which of those two causes the menu issue. Try that and report back here πŸ™‚

    When I deselect the JS the menu is working. What should I do now?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, next step; enable JS optimization (breaking the menu) and then checking your browser’s developer console for JavaScript errors. Feel free to copy/ paste the error here.

    is it possible?

    (a = _.rk(c), window.console.warn(“Google Maps API warning: ” + c + ” https://developers.google.com/maps/documentation/javascript/error-messages#” + a))
    };

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    nothing else when JS optimization is active? can you try in another browser (sometimes one browser shows errors another does not)?

    yes….that was with Safari and this is with Chrome.
    Chrome says me that I have 2 errors and 1 warning.

    Here you are:

    Uncaught SyntaxError: Unexpected end of input
    (index):1 [DOM] Found 2 elements with non-unique id #user_login: (More info: https://goo.gl/9p2vKq) <input type=​”text” name=​”log” id=​”user_login” class=​”input” value size=​”20″>​ <input type=​”text” name=​”user_login” id=​”user_login” placeholder=​”Username”>​
    util.js:248 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
    TC.j @ util.js:248

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, so does

    Uncaught SyntaxError: Unexpected end of input

    have the name of an autoptimized JS script next to it by any chance? In that case that seems like the relevant JS error (although not the easiest). If you have “try/ catch wrapping” on in AO, can you try disabling it (and vice versa) to see if this changes anything in the error or behavior?

    yes…it’s written: autoptimize_a72635cb7b642b0235264ce6609aec57.js:633 Uncaught SyntaxError: Unexpected

    Clicking on it appears this (I don’t know if it can help)

    console.log(store.get(‘comparison’));var properties;properties=store.get(‘comparison’);jQuery.ajax({type:’GET’,url:ajax_object.ajax_url,data:{‘action’:’tt_ajax_property_comparison_thumbnails’,’properties’:properties},success:function(response){if(store.get(‘comparison’)!=””){jQuery(‘#compare-properties-thumbnails’).html(response);if(comparisonLength==4){jQuery(‘#compare-properties-popup .alert’).toggleClass(‘hide’);}}}});});}catch(e){}}catch(e){}

    If you have β€œtry/ catch wrapping” on in AO, can you try disabling it (and vice versa) to see if this changes anything in the error or behavior?

    yes… the warning disappears only for 5 seconds and I have 2 errors:

    FIRST ERROR

    autoptimize_3b7b184dfa18704624e267ba1af14537.js:12 Uncaught TypeError: Cannot read property ‘dates’ of undefined
    at autoptimize_3b7b184dfa18704624e267ba1af14537.js:12
    at autoptimize_3b7b184dfa18704624e267ba1af14537.js:12

    SECOND ERROR

    [DOM] Found 2 elements with non-unique id #user_login: (More info: https://goo.gl/9p2vKq)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    autoptimize_3b7b184dfa18704624e267ba1af14537.js:12 Uncaught TypeError: Cannot read property β€˜dates’ of undefined

    we’re getting closer, now comes the time to share your URL so I can have a look at that specific error πŸ™‚

    Ok, this is my website:

    http://www.livinglondonway.com

    πŸ™‚

    Hello Optimizing Matter? I would like to sort it out as soon as possibile because the web site can’t stay without manu bar longer. I am sure you can understand my point. πŸ™‚ Please, I am waiting for your feedback.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘autoptimize conflicting with responsive menu plugin’ is closed to new replies.