Home Forums WoodMart support forum Too few arguments error

Too few arguments error

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #78849

    d_ch
    Participant

    Hi,

    After installing “yith-woocommerce-wishlist” plugin at my under construction website, I get the following message at the top of my WP-Admin panel:

    “Too few arguments in /home/webfish0/public_html/dermatina4u.gr/wp-content/plugins/yith-woocommerce-wishlist/includes/class.yith-wcwl-admin-init.php on line 1060”

    Could you help me resolve this?

    Attachments:
    You must be logged in to view attached files.
    #78875

    Artem Temos
    Keymaster

    Hi,

    It seems to be a bug in a free version of the plugin and it should be fixed in their next update. As for now, try to disable debug in your wp-config.php file.

    Regards

    #79132

    d_ch
    Participant

    Hello again,

    After making some tests, it seems that the error message is appeared only if I have my user language in Greek.

    Can you please check again my WP-Admin panel now?

    #79156

    Artem Temos
    Keymaster

    Anyway, we are not able to remove this error. It comes with the plugin and it should be fixed from their side.

    #82346

    d_ch
    Participant

    Hi,

    I have got in contact with the plugin author via wordpress.org support forum but I didn’t get a solution yet on the issue. You can find the topic here:

    https://wordpress.org/support/topic/too-few-arguments-error-4/

    In addition even if the plugin was updated to 2.2.4 version 7 days ago, after updating it on my website the error still exists.

    Could you please test it on your end and inform me if the error is appeared to you too?

    I remind you that the error is appeared only if I change the language to Greek from Users–>Your Profile–>Language, not from Settings–>General–>Site Language.

    Waiting for your reply.

    #82364

    Artem Temos
    Keymaster

    Hi,

    We can’t reproduce this error on our development website too. Sorry, but we don’t have a fix for this plugin.

    Regards

    #82365

    d_ch
    Participant

    Hi,

    The plugin author replied to me today that they have made another test and they can’t replicate the issue on their end. You can check their reply on the topic I sent you above.

    Are you sure that the issue is not related with your theme? I can not understand finally what causes the error.

    #82367

    Artem Temos
    Keymaster

    You can check is it our theme’s issue or not switching to default WordPress theme in Dashboard -> Appearance.

    #82370

    d_ch
    Participant

    Ok I made the test, the error is still appeared even if I switch to default WP theme.

    #82408

    Artem Temos
    Keymaster

    It means that it is a plugin bug and we don’t have a fix for this.

    Regards

    #82486

    d_ch
    Participant

    Is maybe your theme compatible with any other plugin for wishlist?

    #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'),

    #82518

    Artem Temos
    Keymaster

    Great, we are glad that you sorted it out.

Viewing 13 posts - 1 through 13 (of 13 total)