Fatal error: Call to undefined function etheme swiper lazy preloader() in….

This topic has 5 replies, 3 voices, and was last updated 6 years ago ago by Rose Tyler

  • Avatar: macamrstudios
    macamrstudios
    Participant
    December 9, 2018 at 18:12

    Hi I have updated the Xstore theme and Xstore Core (the theme update is what broke things) to the latest version and as a result, I have received the following error:

    #####
    Fatal error: Call to undefined function etheme_swiper_lazy_preloader() in /home/pro1music/webapps/macamrstudios/production/verne/wp-content/themes/xstore-child/functions.php on line 114
    #####

    This is the line in question:

    Any ideas what changed (or needs to change)? Is this a syntax error as a result of updated code?

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 9, 2018 at 22:04

    Hello,

    Provide, please, also FTP access to theme files to check the code in your child theme.

    Regards

    Avatar: macamrstudios
    macamrstudios
    Participant
    December 9, 2018 at 22:46

    so – if I remove that line, the site (home page) works – not sure if that line of code is necessary. However, when I now go to the Archives, Online Catalog or Recent Acquisitions pages – a new error appears.

    Fatal error
    : Call to undefined function etheme_get_products_per_page() in
    /home/pro1music/webapps/macamrstudios/production/verne/wp-content/themes/xstore-child/functions.php

    Also – there is an image in the breadcrumbs bar – which should be disabled/hidden (as it was before the update).

    Please contact administrator
    for this information.
    Avatar: macamrstudios
    macamrstudios
    Participant
    December 10, 2018 at 14:56

    After further investigation, I see that we are calling a function (etheme_get_products_per_page ) that is no longer available and/or has changed names. Can you provide any insight into this?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 11, 2018 at 08:06

    Hello,

    Sorry for the delay in answering.
    On Archives page – http://prntscr.com/lte60b Please contact your hosting provider and increase PHP Memory limit.
    I do not see this error http://prntscr.com/lte7aw on mentioned pages. Is it solved?
    About an image in Breadcrumbs, I do not see the problem for now. But if you face such issue, please setup WC pages https://docs.woocommerce.com/document/woocommerce-pages/ to solve the problem.

    Regards

  • Viewing 5 results - 1 through 5 (of 5 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.