Home Forums WoodMart support forum Too few arguments error Reply To: Too few arguments error

#82489

d_ch
Participant

I finally fixed the issue after checking the topic below where a few users had the same issue:

https://wordpress.org/support/topic/too-few-arguments-on-class-yith-wcwl-admin-init-php-line-1053/

I replaced on class.yith-wcwl-admin-init.php on line 1048:

'desc' => sprintf( __( 'Enable all plugin features. <strong>Be sure to select at least one option in the Wishlist page menu in this settings page.</strong> Also, please read the plugin <a href="%s" target="_blank">documentation</a>.', 'yith-woocommerce-wishlist' ), esc_url( $this->doc_url ) ),

with

'desc' => sprintf( __( 'Enable all plugin features. <strong>Be sure to select at least one option in the Wishlist page menu in this settings page.</strong> Also, please read the plugin %2$s.', 'yith-woocommerce-wishlist' ), esc_url( $this->doc_url ),'documentation'),