• Hello,

    today on 3 eshops from version 4.8 and above i get error for the plugin. I updated everything and still the error remains.

    Warning: sprintf(): Too few arguments in /home/website/public_html/wp-content/plugins/yith-woocommerce-wishlist/includes/class.yith-wcwl-admin-init.php on line 1053

    Warning: Cannot modify header informatin – headers already sent by (output started at /home/website/public_html/wp-content/plugins/yith-woocommerce-wishlist/includes/class.yith-wcwl-admin-init.php: 1053) in /home/website/public_html/wp-includes/pluggable.php on line 1210

    I even deleted the plugin and uploaded it from scratch and still the same problem.

    Any idea – help please?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    On this file, /home/website/public_html/wp-content/plugins/yith-woocommerce-wishlist/includes/class.yith-wcwl-admin-init.php on line 1053

    change this line:
    ‘desc’ => sprintf( __( ‘Enable all plugin features. Be sure to select at least one option in the Wishlist page menu in this settings page. Also, please read the plugin documentation.’, ‘yith-woocommerce-wishlist’ ), esc_url( $this->doc_url ) ),

    to this one:
    ‘desc’ => sprintf( __( ‘Enable all plugin features. Be sure to select at least one option in the Wishlist page menu in this settings page. Also, please read the plugin documentation.’, ‘yith-woocommerce-wishlist’ ), esc_url( $this->doc_url ) ),

    Or just %s to %d in href.

    This helped me.

    Plugin Author YITHEMES

    (@yithemes)

    Hi there,

    Could you try with las plugin version (2.2.1)?. Please, tell me if with this version you still have the same problem.

    Regards,
    Yithemes.

    I’m getting the same error.

    Warning: sprintf(): Too few arguments in /wp-content/plugins/yith-woocommerce-wishlist/includes/class.yith-wcwl-admin-init.php on line 1053

    Wordpress Version 4.9.4
    YITH WooCommerce Wishlist 2.2.1
    WooCommerce 3.3.1

    • This reply was modified 7 years, 1 month ago by ramonesmania.
    akaphle

    (@akaphle)

    i got same error and solved as following.

    'desc'    => sprintf( __( 'Enable all plugin features. Be sure to select at least one option in the Wishlist page menu in this settings page. Also, please read the plugin %2$s.', 'yith-woocommerce-wishlist' ), esc_url( $this->doc_url ),'documentation'),
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Too few arguments on class.yith-wcwl-admin-init.php line 1053’ is closed to new replies.