• Resolved qabd

    (@qabd)


    Hi,

    My site is experiencing a technical error with the latest WooCommerce update, Version 6.1.0.

    Error;

    Error Details
    =============
    An error of type E_ERROR was caused in line 27 of the file /home/customer/www/athleteboulevard.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/WcPayPromotion/Init.php. Error message: Uncaught Error: Class 'Automattic\WooCommerce\Admin\PaymentPlugins' not found in /home/customer/www/athleteboulevard.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/WcPayPromotion/Init.php:27
    Stack trace:
    #0 /home/customer/www/athleteboulevard.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/Features.php(136): Automattic\WooCommerce\Admin\Features\WcPayPromotion\Init->__construct()
    #1 /home/customer/www/athleteboulevard.com/public_html/wp-includes/class-wp-hook.php(303): Automattic\WooCommerce\Admin\Features\Features::load_features('')
    #2 /home/customer/www/athleteboulevard.com/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3 /home/customer/www/athleteboulevard.com/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /home/customer/www/athleteboulevard.com/public_html/wp-settings.php(578): do_action('init')
    #5 /home/customer/www/athleteboulevard.com/public_html/wp-config.php(66):

    I also noticed a few visual issues on product pages with the new update. For one, the variation headings have moved to the center of their box and can’t be moved back to the sides.

    Additionally, I had previously installed a bit of CSS on my add to cart element to keep the background transparent and control the Z-Index; the CSS worked fine on the previous version but, doesn’t work with the new update.

    Mentioned CSS;

    .product .variations td {
    background-color: #ffffff;
    }
    
    .vi-wpvs-variation-wrap-option-available {
        z-index: 1 !important;
    }

    I’d really appreciate any advice anyone has on these issues,

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @qabd,

    The error is usually caused by a conflict with your theme or with another plugin. The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same behavior after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated.

    Reactivate the theme first and check again. Then, go on and reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

    You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/.

    I also noticed a few visual issues on product pages with the new update.

    If your product page doesn’t look like it was before the WooCommerce update you’d want to contact your theme developers since the layout and style are controlled by the theme. You’re using the Hello Elementor theme and here’s the theme support forum – https://www.ads-software.com/support/theme/hello-elementor/.

    Cheers.

    @qabd is correct on the second point. The HTML for the table used to display variations has been changed in version 6.1.0.

    In 6.0.0 the label was wrapped in a td:

    <table class="variations" cellspacing="0">
    	<tbody>
    		<tr>
    			<td class="label"><label for="size">Size</label></td>
    			<td class="value">...</td>
    		</tr>
    	</tbody>
    </table>

    In 6.1.0 the label is wrapped in a th:

    <table class="variations" cellspacing="0">
    	<tbody>
    		<tr>
    			<th class="label"><label for="size">Size</label></th>
    			<td class="value">...</td>
    		</tr>
    	</tbody>
    </table>

    This messes up existing styling.

    Mirko P.

    (@rainfallnixfig)

    Hi @glicit,

    That’s correct and you can see the changes here:


    Link to image: https://snipboard.io/fMthzw.jpg

    https://github.com/woocommerce/woocommerce/compare/release/6.0…release/6.1#

    As usual, when WooCommerce core is updated theme developers are required to provide a fix if they want their product to be fully compatible with the latest WooCommerce version.

    Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Technical & Visual Issues when updating from V-6.0.0 to V-6.1.0’ is closed to new replies.