Website reloads in a loop after an update to Legenda 2.8

This topic has 18 replies, 4 voices, and was last updated 8 years, 9 months ago ago by Eva Kemp

  • Avatar: BlankM
    BlankM
    Participant
    June 28, 2015 at 20:53

    Hello,

    I have an issue with my website reloading over and over again on some mobile browsers after an update to Legenda 2.8 and after installing a Cookie Law Info plugin. I noticed it just after installing the plugin, but removing it did not help. At the moment the plugin is installed again. The plugin author (after some tests) says it is the issue inside the theme. Here is the thread on a WordPress Support forum:

    https://wordpress.org/support/topic/website-reloads-in-a-loop-on-some-browsers?replies=4#post-7120505

    Here is what the plugin author noticed:

    “In the file etheme.js#1050:

    location.assign(location.href);

    It generates a JavaScript error: “Uncaught RangeError: Maximum call stack size exceeded.” That line of code is forcing a page reload. I tested this on my iPhone by inserting a breakpoint on this line of code and the page stops reloading.

    Exactly why it does this I don’t know, maybe it interacts with another script on the page- the theme author will know his/her code best. The only thing I can think of is that the custom “popstate” event is forcing this reload is being fired on e.g. jQuery .prepend()”

    Please, let me know, if you can help in any way. Also, please, contact the plugin author if this is a compatibility issue with his plugin. Thank you in advance.

    Best regards,
    Blanka

    17 Answers
    Avatar: BlankM
    BlankM
    Participant
    June 30, 2015 at 09:50

    Hello again,

    my website host had serious problems and my website was unavailable yesterday. It is back now and the problem with continuous reloading on some mobile browsers still exists. Could you, please, check it and let me if that is the theme or something else? Thank you in advance.

    Best regards,
    Blanka

    Avatar: Eva
    Eva Kemp
    Support staff
    June 30, 2015 at 13:11

    Hello,

    Please provide us with FTP credentials.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: BlankM
    BlankM
    Participant
    June 30, 2015 at 14:34

    Hello,

    the credentials are in private content.

    Thank you in advance.

    Best regards,
    Blanka

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    June 30, 2015 at 16:32

    Hello,

    We’ve reuploaded the file etheme.js. Please check your site now.

    Regards,
    Eva Kemp.

    Avatar: BlankM
    BlankM
    Participant
    June 30, 2015 at 16:55

    Thank you Eva – it works fine now (after cleaning browser’s cache and cookies). Was it connected with the Cookie Law Info plugin in any way? Thanks again for your help!

    Best regards,
    Blanka

    Avatar: Eva
    Eva Kemp
    Support staff
    June 30, 2015 at 17:20

    Hello,

    You’re welcome.
    The problem was with the theme file, not the plugin.

    Let us know if you need further assistance.

    Regards,
    Eva Kemp.

    Avatar: EDavis99
    EDavis99
    Participant
    July 15, 2015 at 15:58

    Hi

    I am having the same issue with the website on iPhone reloading contiunally.

    Please could you provide me with a new version of the file etheme.js that fixed it for the previous client?

    Thanks
    Elaine

    Avatar: EDavis99
    EDavis99
    Participant
    July 15, 2015 at 17:13

    Hi

    I am having the same issue with the website on iPhone reloading contiunally, which means that the site is not accessible.

    Please could you provide me with a new version of the file etheme.js that fixed it for the previous client?

    I have tried reloading the file etheme.js from the original downnload and it did not fix the problem.

    Thanks
    Elaine

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 15, 2015 at 19:44

    Hello @EDavis99,

    We’ve sent the file to your email address.
    Please check it.

    Best regards,
    Jack Richardson.

    Avatar: EDavis99
    EDavis99
    Participant
    July 15, 2015 at 22:10

    Thank you for the file – that has fixed the reloading loop issue.

    However, there is still one problem which is that the banner is not resizing on the mobile. Can you help with that too, please?

    Elaine

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 16, 2015 at 11:49

    Hello @EDavis99,

    Are you talking about logo image? If so please add this code in custom.css file:

    @media (max-width: 979px) {
     .header7 .logo img {
        width: 100%;
    }}

    How to create custom.css you can watch in this tutorial.

    Best regards,
    Jack Richardson.

    Avatar: EDavis99
    EDavis99
    Participant
    July 16, 2015 at 22:51

    Yes it is the logo image I mean. However, the code you gave me does not fix the issue when added to the custom.css file.

    The logo image was fine before the update,
    Best
    Elaine

    Avatar: Eva
    Eva Kemp
    Support staff
    July 17, 2015 at 08:45

    Hello @EDavis99,

    Please provide us with FTP credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: EDavis99
    EDavis99
    Participant
    July 17, 2015 at 12:25

    Hi

    FTP access details in private content.

    Thank you
    Elaine

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    July 17, 2015 at 12:56

    Hello @EDavis99,

    You created custom.css incorrectly. This content must be deleted:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    </html>

    Also if you use child theme you should write only the code for the element you want to modify and don’t copy whole parent style.css.
    So please edit your files and check the site after that.

    Regards,
    Eva Kemp.

    Avatar: EDavis99
    EDavis99
    Participant
    July 17, 2015 at 19:08

    Thank you. That has sorted the problem.
    Sorry for my mistake
    Elaine

    Avatar: Eva
    Eva Kemp
    Support staff
    July 17, 2015 at 20:57

    Hello @EDavis99,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 18 results - 1 through 18 (of 18 total)

The issue related to '‘Website reloads in a loop after an update to Legenda 2.8’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.