• Resolved momo-fr

    (@momo-fr)


    Hi, whe have an error message from our store:

    Une erreur de type E_ERROR a été causée dans la ligne 127 du fichier /var/www/vhosts/my-domain/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-variations.php. Message d’erreur : Uncaught ValueError: Unknown format specifier “a” in /var/www/vhosts/my-domain/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-variations.php:127
    Stack trace: 0 /var/www/vhosts/my-domain/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-variations.php(127): sprintf() 1 /var/www/vhosts/my-domain/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(186): include(‘…’) 2 /var/www/vhosts/my-domain/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php(53): WC_Meta_Box_Product_Data::output_variations() 3 /var/www/vhosts/my-domain/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(37): include(‘…’) 4 /var/www/vhosts/my-domain/wp-admin/includes/template.php(1453): WC_Meta_Box_Product_Data::output() 5 /var/www/vhosts/my-domain/wp-admin/edit-form-advanced.php(721): do_meta_boxes() 6 /var/www/vhosts/my-domain/wp-admin/post.php(206): require(‘…’) 7 {main}

    Our configuration are:
    WordPress version 6.9
    Thème actif : OceanWP
    Extension actuelle : WooCommerce (version 10.4.3)
    PHP version 8.3.30

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the error details. To assist you furtherz, could you please clarify when exactly this error started appearing on your site? Did it begin after you made any changes, added a new plugin, or updated WooCommerce?

    The error you’re seeing indicates that WooCommerce is encountering an unexpected format in the code, specifically in the sprintf() function for product variations. This is usually caused by one of the following:

    • A custom snippet or customization on your site that modifies product variation data.
    • A plugin conflict that changes how WooCommerce outputs variation fields.

    Also, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    • System Status Report which you can find via WooCommerce > Status
    • Fatal error logs (if any) under WooCommerce > Status > Logs.

    Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further.

    Plugin Support Ejay F – a11n

    (@ejayfernandes)

    I’m going to mark this as resolved, as we haven’t heard back from you in a while. Please open a new thread if you need further assistance.

    We’d really appreciate if you could take a moment to leave us a review: https://wordpress.org/support/plugin/woocommerce/reviews/

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.