URGENT Issue when I Try to update the theme

This topic has 9 replies, 3 voices, and was last updated 4 years, 3 months ago ago by Olga Barlow

  • Avatar: ianabel
    ianabel
    Participant
    January 12, 2020 at 12:37

    Any time I try to update the theme the web gets broken. WPBakery is not compatible the update, It requires a purchase. I try 2 times update the theme and both times I had to restore a backup because the web got broken. Please see screenshot:https://prnt.sc/qmkith

    And these are the error details:
    Detalles del error
    ==================
    Se ha producido un error del tipo E_ERROR en la línea 299 del archivo /var/www/vhost/ia-incosmetics.com/home/html/wp-content/plugins/woocommerce-admin/src/FeaturePlugin.php. Mensaje de error: Uncaught Error: Call to undefined function Automattic\WooCommerce\Admin\wc_admin_get_feature_config() in /var/www/vhost/ia-incosmetics.com/home/html/wp-content/plugins/woocommerce-admin/src/FeaturePlugin.php:299
    Stack trace:
    #0 /var/www/vhost/ia-incosmetics.com/home/html/wp-includes/class-wp-hook.php(288): Automattic\WooCommerce\Admin\FeaturePlugin->replace_supported_features(Array)
    #1 /var/www/vhost/ia-incosmetics.com/home/html/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
    #2 /var/www/vhost/ia-incosmetics.com/home/html/wp-content/plugins/woocommerce-admin/src/Loader.php(123): apply_filters(‘woocommerce_adm…’, Array)
    #3 /var/www/vhost/ia-incosmetics.com/home/html/wp-content/plugins/woocommerce-admin/src/Loader.php(223): Automattic\WooCommerce\Admin\Loader::get_features()
    #4 /var/www/vhost/ia-incosmetics.com/home/html/wp-includes/class-wp-hook.php(288): Automattic\WooCommerce\Admin\Loader::load_features(”)
    #5 /var/www/vhost/ia-incosmetics.com/home/html/wp-includes/class-wp-hook.php(312):

    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 12, 2020 at 13:03

    Hello,

    Autoupdate does not work for the bundled plugins https://help.market.envato.com/hc/en-us/articles/213762463-Bundled-Plugins . You can update them using FTP method https://xstore.helpscoutdocs.com/article/37-plugins-update

    Rename via FTP woocommerce admin plugin, which is mentioned in the error text, to disable this plugin, and check your site then.
    We need temporary wp-admin and FTP access, to take a closer look at your problem.

    Regards

    Avatar: ianabel
    ianabel
    Participant
    January 12, 2020 at 13:27

    Thank you!

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 12, 2020 at 14:38

    Please provide temporary wp-admin access also. One of our technicians will be able to check this problem on Monday (due to the weekend).

    Regards

    Avatar: ianabel
    ianabel
    Participant
    January 12, 2020 at 19:28

    It is very URGENT please. Why if wpbakery is a bundle plugin and it is supposed it don’t need update is not working with the xstore theme update? Do I need to by wpbakery?

    Please contact administrator
    for this information.
    Avatar: ianabel
    ianabel
    Participant
    January 12, 2020 at 20:48

    ok, I already found the error, It was a code fragment in code snipped plugin that stop working with the update. The code is to show product_tags in the products loop. How can I do that with some css code?

    this is the code I have been using until now:
    add_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_product_loop_tags’, 5 );

    function woocommerce_product_loop_tags() {
    global $post, $product;

    $current_tags = get_the_terms( $post->ID, ‘product_tag’ );

    echo $product->get_tags( ‘, ‘, ‘‘ . _n( ‘Tag:’, ‘*’, $current_tags, ‘woocommerce’ ) . ‘ ‘, ‘.‘ );
    }

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 13, 2020 at 10:42

    Hello,

    1) If you want to update bundled plugins use the manual update method and plugin archives from the Downloads page https://www.8theme.com/downloads Bundled plugins do not support autoupdate.

    2) Use the following code

    add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_product_loop_tags', 5 );
    function woocommerce_product_loop_tags() {
    	global $post, $product;
    
    	echo wc_get_product_tag_list( $product->get_id(), ', ', '<span class="tagged_as">' . _n( 'Tag:', 'Tags:', count( $product->get_tag_ids() ), 'xstore' ) . ' ', '</span>' ); 
    }

    Take into account that additional customization is not included in our support. It’s paid service, so if you have any other requests about additional customization submit request here.

    Regards

    Avatar: ianabel
    ianabel
    Participant
    January 13, 2020 at 13:25

    Thank you very much Olga! Works perfect.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 13, 2020 at 15:44

    You are welcome.

    Regards

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

The issue related to '‘URGENT Issue when I Try to update the theme’' has been successfully resolved, and the topic is now closed for further responses

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