New WordPress Update FATAL ERROR - by Martin_D

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

  • Avatar: Martin_D
    Martin_D
    Participant
    March 7, 2017 at 00:58

    I get two fatal errors – one on the homepage and one on the single product page (woocommerce)

    FATAL ERROR HOMEPAGE:
    Fatal error: Call to undefined function et_translateColumnsCountToSpanClass() in /home/pdht3/public_html/wp-content/themes/legenda/framework/theme-functions.php on line 2147

    This line has the following code:
    $el_class = WPBakeryShortCode::getExtraClass( $el_class );
    $width = ”;//wpb_translateColumnWidthToSpan( $width );
    $li_span_class = et_translateColumnsCountToSpanClass( $grid_columns_count );
    -last line is 2147

    FATAL ERROR SINGLE PRODUCT PAGE:
    Fatal error: Call to undefined function etheme_replace_variation_images() in /home/pdht3/public_html/wp-content/themes/legenda/woocommerce/single-product/add-to-cart/variable.php on line 13

    This line has the following code:
    if ( ! defined( ‘ABSPATH’ ) ) exit; // Exit if accessed directly

    global $woocommerce, $product, $post;
    $available_variations = etheme_replace_variation_images($available_variations, 1000, 1000, false);
    -Last line of code ($available_variations) is 13.

    Looking at the woocommerce status files list, I have the following inconsistencies:

    legenda/woocommerce/cart/cart-item-data.php version 2.1.0 outdated. Latest version 2.4.0,
    legenda/woocommerce/checkout/form-pay.php version 1.6.4 outdated. Latest version 2.5.0,
    legenda/woocommerce/single-product/add-to-cart/variable.php version 2.3.0 outdated. Latest version 2.5.0,

    CURRENT INSTALLS:
    Wordpress: 4.7.3
    Woocommerce 2.6.14

    Please help me as fast as you can, since the site https://obuvkitegizdas.com , has been having a moderate amount of traffic that is being lost with every single hour the site is offline. Writing here is a last resort measure, I really tried everything, so I truly appreciate you taking the time to look into this.

    Please, contact administrator
    for this information.
    11 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 7, 2017 at 11:06

    Hello,

    Please provide us with FTP credentials in private content area.

    Regards,
    Jack Richardson.

    Avatar: Martin_D
    Martin_D
    Participant
    March 7, 2017 at 12:06

    Thank you for the response. I have attached them.

    Please, contact administrator
    for this information.
    Avatar: Martin_D
    Martin_D
    Participant
    March 7, 2017 at 12:12

    Also, I have customizations written in functions.php , however even with deleting them, the errors continue. For the purpose of investigating the issue, feel free to delete all of my customized coding on that particular file if it makes things easier, as I have a backup.

    Avatar: Martin_D
    Martin_D
    Participant
    March 8, 2017 at 11:13

    Any updates? Since the site has been down for 2 business days, I am taking heat for it. Add that to the fact I haven’t received the least direction from you guys of what could it be, I will wait for the rest of this business day for your assistance and then either try to downgrade everything or switch themes. So by the end of the day, please let me know what’s going on.

    Avatar: Martin_D
    Martin_D
    Participant
    March 8, 2017 at 23:19

    Can’t switch themes, since my single product layout is interconnected with the theme. So, waiting for updates, thank you.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 9, 2017 at 11:08

    Hello,

    Please take our apologies for delay.
    The problem is caused by deprecated post grid visual composer element on your home page http://prntscr.com/ehs6ys . You need recreate it to fix the issue.

    Regards,
    Jack Richardson.

    Avatar: Martin_D
    Martin_D
    Participant
    March 9, 2017 at 11:30

    Oh my God, yes it worked – Thank you so much!! As far as my second issue, with the variable single product:

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

    This one remains. No images are shown and this big error doesn’t allow the single product to load. If this support is a premium service, I’ll pay. Just need it quick, because I’m about to be fried by this client..

    Avatar: Martin_D
    Martin_D
    Participant
    March 9, 2017 at 13:08

    On the woocommerce system status tab, I see that:

    legenda/woocommerce/single-product/add-to-cart/variable.php version 2.3.0 is old. Core Version is 2.5.0,

    Is the error coming from the fact that woocommerce is working with a different version of that file, a version that the theme doesn’t support?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 9, 2017 at 15:43

    Hello,

    I’ve re-uploaded files in the wp-content/themes/legenda/woocommerce folder. Please check single product page now.

    Regards,
    Jack Richardson.

    Avatar: Martin_D
    Martin_D
    Participant
    March 9, 2017 at 16:09

    I installed an old version of Woocommerce and the issue disappeared. I’m using 2.6.4 and I will keep using it until you guys do an update. Thank you for the time.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 10, 2017 at 09:03

    Hello,

    You are welcome.

    Regards,
    Jack Richardson.

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

The issue related to '‘New WordPress Update FATAL 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.