• ecofibre

    (@ecofibre)


    Hello,

    we are using the newest version of “amp for wp” by Ahmed and Mohammed Kaludi with the newest version of wp.

    Since two weeks our amp pages are “freezing” on mobile devices. It is not possible to click any link or to click on the mobile menu but you can scroll normally. I have tried different mobile phones and tablets.

    If you check it with a desktop computer everything works fine. The problem occurs only on mobile devices.

    Has someone recognized the same problem? Any solutions?

    Thank you.

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hi @ecofibre,

    I have checked your website on the desktop as well as the mobile and it seems that it’s working fine on mobile as well.
    https://monosnap.com/file/Na5S0UlkLBq2HUBV9EusocgpUp1cHr
    https://monosnap.com/file/vClX5yElfKSoQ2lyZYq2ay4wL9uIOR

    Will you please tell us exactly what issue you are facing in the mobile. So that we can help you.

    Thread Starter ecofibre

    (@ecofibre)

    Hi @ampforwp,

    thank you for your response and for checking my website. Today everything is working well. No problems with my mobile devices.

    I put some extra code in my functions.php:

    // Disable autoptimize on pages with the word "amp" in the URL
    add_filter('autoptimize_filter_noptimize','my_ao_noptimize',10,0);
    function my_ao_noptimize() {
    if (strpos($_SERVER['REQUEST_URI'],'amp')!==false) {
    return true;
    } else {
    return false;
    }
    }

    But I′m not sure, if that was the solution. The autoptimize plugin author told me that autoptimize doesn′t change accelerated mobile pages.

    Have you recognized some kind of cache problems? I will check my website in the next days on different mobile devices.

    • This reply was modified 6 years ago by ecofibre. Reason: spelling
    Optimizing Matters

    (@optimizingmatters)

    But I′m not sure, if that was the solution. The autoptimize plugin author told me that autoptimize doesn′t change accelerated mobile pages.

    indeed, the code snippet is not needed.

    frank (ao dev)

    Thread Starter ecofibre

    (@ecofibre)

    Hi @optimizingmatters,

    thank you for your comment here! I just wonder what happened because this is the only thing I changed in the code and currently the website causes no problems in the “AMP mode”.

    Best Regards

    Optimizing Matters

    (@optimizingmatters)

    Weird, as per https://github.com/futtta/autoptimize/blob/2.4.1/classes/autoptimizeMain.php#L381 AO bails on finding <html amp or <html ?. Would be interesting to check if the HTML source of the page without that my_ao_noptimize-snippet being active contains any references to autoptimize.

    Thread Starter ecofibre

    (@ecofibre)

    Oh, I′m very happy that it works now.

    So, I will keep the code snippet in my functions.php for some days to test it with some more mobile devices.

    If the problem occurs again, I will delete the code snippet.

    I keep you up to date about this matter. Ok?

    Thread Starter ecofibre

    (@ecofibre)

    Oh no, it happened again.

    I just opened my website with a Safari Browser on a desktop computer and it was not possible to open the menu or to click any link.

    Changes: Today I only added the unfortunately not correctly working “Call now” button. But for that issue I created a new thread.

    Optimizing Matters

    (@optimizingmatters)

    well, I checked the HTML source and there is no reference to Autoptimize at all, so you can at least exclude this from the list of possible culprits ??

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @ecofibre,

    I have checked your menu in safari desktop and it was working fine – https://take.ms/78IXA

    Many of our users use autoptimize plugin without any problem and will you please check once and let us know.

    • This reply was modified 6 years ago by ampforwp.
    Thread Starter ecofibre

    (@ecofibre)

    Hi @optimizingmatters,

    thank you for your efforts and help. I agree with you the error is not caused by the Autoptimize plugin!

    Hi @ampforwp,

    thank you for your help, too! The problem still remains. I checked also another website that is running with your plugin.

    Please copy the following domainadress and open it with a new browser (e.g. Safari). Don′t click on the link, please copy and paste it. https://www.steinwolle-d?mmung.de/amp

    I suspect that Javascript is not loading always correctly, because I recognized also that the GDPR notice is not displayed when all links are blocked. Both websites work currently with Firefox but not with Safari.

    Best Regards

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @ecofibre

    You’re welcome.

    I’ve checked the URL and I see that the URL which you’ve sent isn’t displaying the Menu(when clicked on it) but the URL https://www.ecofibre.de/amp is displaying the Menu.

    Thread Starter ecofibre

    (@ecofibre)

    Hi @ampforwp,

    can′t you see the “hamburger”-icon or is it not possible to open the menu on https://www.steinwolle-d?mmung.de/amp

    I can see the “hamburger”-icon on both sides but they are not clickable with safari browser.

    Plugin Contributor ampforwp

    (@ampforwp)

    Hello @ecofibre,

    I’m able to see the Menu but not able to click on it in the Safari browser, can you just contact us at [email protected] so that we can proceed with solving this issue for you?

    Thread Starter ecofibre

    (@ecofibre)

    Hello @ampforwp,

    I have recognized that the error is caused by the “GDPR Compliance Window” which you can activate in your plugin.

    It only occurs with Safari browsers (mobile devices and desktop). I deactivated javascript in Safari and could click on the link.

    Furthermore I deactivated the “GDPR Compliance Window” and activated the “Cookie notice”. And it works, now you can click on every link.

    You should have a look at the javascript of the “GDPR Compliance Window”.

    Thank you very much for this plugin, for your support and for your efforts!

    Best Regards

    Es Vedra Charter

    (@esvedracharter)

    It also happens to my. Only on iphone (safari and chrome) links dont work.

    They work after some time on page.

    https://www.esvedracharter.com/en/es-vedra-home/jet-ski-hire-ibiza/

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘AMP is freezing, it is not possible to click on links’ is closed to new replies.