Fatal error: Call to undefined function etheme_replace_variation_images

This topic has 3 replies, 2 voices, and was last updated 6 years, 10 months ago ago by Laranz

  • Avatar: Amoon
    Amoon
    Participant
    June 16, 2017 at 16:25

    Fatal error: Call to undefined function etheme_replace_variation_images() in /wp-content/themes/legenda/woocommerce/single-product/add-to-cart/variable.php on line 13

    Products will not load and can not be purchased.

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Amoon
    Amoon
    Participant
    June 16, 2017 at 16:41

    I commented out line 13 and the single product page now laods and seems to work ok – heres a temp fix for anyone else having the issue.

    File: Line 13: add two slashes to the beginning of line 13 to disable the condition temporarily
    /wp-content/themes/legenda/woocommerce/single-product/add-to-cart/variable.php

    // $available_variations = etheme_replace_variation_images($available_variations, 1000, 1000, false);

    Avatar: laranz
    Laranz
    Participant
    June 17, 2017 at 11:40

    Hi,

    Can you double check you’re running the latest version of the theme, because in latest version of the theme we don’t have a file named ” /wp-content/themes/legenda/woocommerce/single-product/add-to-cart/variable.php” make sure you didn’t copy this from an old version/another theme to the child theme or in the parent theme, try remove that file, if that is working fine with the line you edited then cool. 🙂

    Let us know if you have any other questions.

    Thanks,
    laranz.

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