• Resolved uspartsimport

    (@uspartsimport)


    Hello,
    On: https://uspartsimport.com/accueil/importation-accessories-customs-des-usa-depuis-1992/ for the image file: US_Car_Motorcycle_and_Truck_US_Show-1.jpg WP Optimize tells me:
    Warning: sprintf(): Too few arguments in wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php on line 141
    Less
    Size name Original Compressed
    full 383.3 KB 383.3 KB 0%
    medium 18.0 KB 17.5 KB 2.78%
    thumbnail 8.0 KB 8.0 KB 0%
    medium_large 78.4 KB 75.5 KB 3.73%
    commercegurus-pdp-large 116.1 KB 111.5 KB 3.9%
    commercegurus-plp-mobile 33.1 KB 32.1 KB 2.86%
    woocommerce_thumbnail 17.9 KB 17.4 KB 2.7%
    woocommerce_single 59.3 KB 57.2 KB 3.57%
    woocommerce_gallery_thumbnail
    How to fix, thank you for your answer, Philippe`
    ——————–
    Bonjour,
    Sur : https://uspartsimport.com/accueil/importation-accessoires-customs-des-usa-depuis-1992/ pour le fichier image : US_Car_Motorcycle_and_Truck_US_Show-1.jpg WP Optimize me dit :
    Warning: sprintf(): Too few arguments in wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php on line 141
    Less
    Size name Original Compressed
    full 383.3 KB 383.3 KB 0%
    medium 18.0 KB 17.5 KB 2.78%
    thumbnail 8.0 KB 8.0 KB 0%
    medium_large 78.4 KB 75.5 KB 3.73%
    commercegurus-pdp-large 116.1 KB 111.5 KB 3.9%
    commercegurus-plp-mobile 33.1 KB 32.1 KB 2.86%
    woocommerce_thumbnail 17.9 KB 17.4 KB 2.7%
    woocommerce_single 59.3 KB 57.2 KB 3.57%
    woocommerce_gallery_thumbnail
    Comment réparer, merci pour votre réponse, Philippe

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • @uspartsimport Where you do you see this warning, do you see it in WP-optimize UI or in error logs?

    Thread Starter uspartsimport

    (@uspartsimport)

    Hello and thank you for this answer,
    I see it in the wordpress media library (upload.php when I’m logged in) under the WP-Optimize tab for .jpg and .png images (not for .webp image),
    Also WP-Optimize created duplicate .webp images of my .jpg and .png images,
    Thanks for your reply, Philippe

    Bonjour et merci pour cette réponse,
    Je le vois dans la médiathèque wordpress (upload.php quand je suis connecté) sous l’onglet WP-Optimize pour les images .jpg et .png (pas pour les images .webp),
    En outre WP-Optimize a crée des images .webp en double de mes images .jpg et .png,
    Merci pour votre réponse, Philippe

    @uspartsimport Could you please edit wp-config.php file and

    Replace

    define('WP_DEBUG', false);

    with this:

    ini_set('log_errors','On');
    
    ini_set('display_errors','Off');
    
    ini_set('error_reporting', E_ALL );
    
    define('WP_DEBUG', false);
    
    define('WP_DEBUG_LOG', true);
    
    define('WP_DEBUG_DISPLAY', false);

    Then check if you still see the warnings in WordPress admin?

    Thread Starter uspartsimport

    (@uspartsimport)

    Ok = all is good, thank-you !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: sprintf(): Too few arguments’ is closed to new replies.