Javascript Error When Loading, is not a function error

This topic has 8 replies, 2 voices, and was last updated 1 years ago ago by Tony Rodriguez

  • Avatar: tricom.admin
    tricom.admin
    Participant
    November 7, 2023 at 04:34

    I found an issue on my website. The error occurs when loading a JavaScript script. Yesterday, the error message was about ‘lazyload is not a function,’ and today, it’s about ‘magnificPopup is not a function.’ What could be causing this, and what’s the solution?

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 7, 2023 at 05:40

    Hello, @tricom.admin,

    Thank you for using our theme and for contacting us.

    We recommend that you disable all third-party plugins that are not included with XStore (https://www.8theme.com/documentation/xstore/plugins/included-plugins/). After doing so, please clear your browser’s cache and check again. It is possible that one of these additional plugins is causing the issue.

    If the issue still persists, please keep all third-party plugins deactivated on your site and grant permission to debug your site, which includes deactivating all third-party plugins and on-site Customization. This will allow us to investigate and assist you accordingly.

    Please note that you should take a complete backup of your site before proceeding.

    In addition, please provide your site’s WP Admin URL and credentials in the private content area of this topic, so that we can look into it further:

    WP Admin URL:
    WP Admin Username:
    WP Admin Password:

    Thank you for your cooperation.

    Best Regards,
    8Theme’s Team

    Avatar: tricom.admin
    tricom.admin
    Participant
    November 8, 2023 at 07:28

    The two previous issues have already been resolved. However, now there is an error on the cart page when I try to change the shipping method.

    Please contact administrator
    for this information.
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 8, 2023 at 07:58

    Hello, @tricom.admin,

    Thank you for your response.

    1/ That’s great to hear!

    2/ Please record a video of the problem for a better understanding. Upload it on a filesharing service, for example – https://wetransfer.com/ , and provide us with URL. So that we can check and help you.

    Thank you for your cooperation

    Best regards,
    The 8Theme Team.

    Avatar: tricom.admin
    tricom.admin
    Participant
    November 8, 2023 at 08:16

    Here are the screenshots and the errors.

    Please contact administrator
    for this information.
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 8, 2023 at 09:35

    Hello, @tricom.admin,

    We appreciate your prompt reply.

    1/ Upon reviewing your website, we have noticed that the current versions of the XStore theme and the XStore Core plugin in use are outdated. To ensure optimal performance and security, we strongly advise that you update both the XStore theme and the XStore Core plugin to the latest versions available.

    For your convenience, you can review the change log for the latest updates here: https://xstore.8theme.com/update-history/
    https://www.8theme.com/documentation/xstore/theme-installation/theme-update/
    https://www.8theme.com/documentation/xstore/plugins/plugins-update/

    2/ Could you please check how it works when Advanced cart/checkout Layout is disabled in Xstore > Theme Options > WooCommerce > Cart/Checkout Layout?

    3/ We kindly request you to conduct a check by activating the default WordPress Theme, such as Storefront or Twenty Twenty-Three. This is to ascertain whether the issue you are experiencing is due to our theme or not. Let us know the result.

    Thank you for your cooperation and we look forward to hearing from you soon.

    Best Regards,
    8Theme’s Team.

    Avatar: tricom.admin
    tricom.admin
    Participant
    November 8, 2023 at 10:43

    I’ve tried updating the theme and Xstore core, but there’s an error: ‘PCLZIP_ERR_BAD_FORMAT (-10): Unable to find End of Central Dir Record signature.’ I ended up changing the theme to Storefront, but there’s still a block error.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 8, 2023 at 11:52

    Hello, @tricom.admin,

    1/ To facilitate a resolution, we kindly ask that you carefully review and adhere to the guidelines provided in our theme documentation. The relevant instructions can be found at the following links:

    – Troubleshooting PCLZIP_ERR_BAD_FORMAT (-10) during theme core plugin update:
    https://www.8theme.com/documentation/documentation/troubleshooting/troubleshooting-pclziperrbadformat-10-during-theme-core-plugin-update/

    – Theme Update Guide:
    https://www.8theme.com/documentation/xstore/theme-installation/theme-update/
    https://www.8theme.com/documentation/xstore/plugins/plugins-update/

    Please be advised that you should initially upgrade the XStore Core plugin to the most recent version before proceeding to update the XStore Theme on your website.

    2/ If the problem persists even with the default WordPress Theme, it would suggest that our theme is not the cause of the issues. In such a scenario, we recommend reaching out to WooCommerce support for further assistance: https://wordpress.org/support/plugin/woocommerce/

    Best Regards,
    The 8Theme Team

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

The issue related to '‘Javascript Error When Loading, is not a function error’' has been successfully resolved, and the topic is now closed for further responses

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