JS Error on Single Product Page Slows down the page load

This topic has 4 replies, 2 voices, and was last updated 7 years, 5 months ago ago by Jack Richardson

  • Avatar: itai
    itai
    Participant
    November 7, 2016 at 15:51

    Hello,

    When on the single product page, I can see two lines of errors that are related to the ‘plugin.min.js’ file in the theme. The error is given on the console: “plugins.min.js?ver=b9fa2f1…:3 Uncaught TypeError: Cannot read property ‘tn’ of undefined(…)” I get two lines like this.

    For example, if you go to the page: http://shoptlf.com/product/tlf-marvel-top-fuchsia-suede/
    You would be able to see it with the developer tools (console).

    Please assist us.
    Thank you in advance,
    Itai.

    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 7, 2016 at 17:26

    Hello,

    Please update the theme to 3.0.3 version.
    Before update delete “woocommerce” folder in the directory wp-content/themes/legenda/ and it’ll be reuploaded from a new theme package.
    Also update all required plugins https://www.8theme.com/download-plugins/ .

    Don’t forget to create back up of your files and database before starting update process!

    Best regards,
    Jack Richardson.

    Avatar: itai
    itai
    Participant
    November 7, 2016 at 17:39

    Thank you for the quick response.
    I’m a developer and I customized the theme’s PHP code in some of the pages.
    Since I do not wan’t to lose all the code that I wrote in those pages, I update the files of the theme manually.

    Please tell me which file/files are affecting this issue so that I can update them individually.

    Thank you in advance,

    Itai.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 7, 2016 at 19:13

    Hello,

    We don’t recommend to edit original theme files. You need create child theme https://codex.wordpress.org/Child_Themes and make all modifications there. So please move all the changes to child theme and update the parent theme.
    Create a back up before update process.

    Best regards,
    Jack Richardson.

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

You must be logged in to reply to this topic.Log in/Sign up

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