Home › Forums › WoodMart support forum › Too few arguments error
Too few arguments error
- This topic has 12 replies, 2 voices, and was last updated 6 years, 4 months ago by
Artem Temos.
-
AuthorPosts
-
September 25, 2018 at 8:41 am #78849
d_chParticipantHi,
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.September 25, 2018 at 9:51 am #78875
Artem TemosKeymasterHi,
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
September 26, 2018 at 10:08 am #79132
d_chParticipantHello 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?
September 26, 2018 at 11:01 am #79156
Artem TemosKeymasterAnyway, we are not able to remove this error. It comes with the plugin and it should be fixed from their side.
October 12, 2018 at 6:59 am #82346
d_chParticipantHi,
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.
October 12, 2018 at 8:33 am #82364
Artem TemosKeymasterHi,
We can’t reproduce this error on our development website too. Sorry, but we don’t have a fix for this plugin.
Regards
October 12, 2018 at 8:38 am #82365
d_chParticipantHi,
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.
October 12, 2018 at 8:39 am #82367
Artem TemosKeymasterYou can check is it our theme’s issue or not switching to default WordPress theme in Dashboard -> Appearance.
October 12, 2018 at 8:44 am #82370
d_chParticipantOk I made the test, the error is still appeared even if I switch to default WP theme.
October 12, 2018 at 12:27 pm #82408
Artem TemosKeymasterIt means that it is a plugin bug and we don’t have a fix for this.
Regards
October 12, 2018 at 3:44 pm #82486
d_chParticipantIs maybe your theme compatible with any other plugin for wishlist?
October 12, 2018 at 5:04 pm #82489
d_chParticipantI 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'),
October 12, 2018 at 8:01 pm #82518
Artem TemosKeymasterGreat, we are glad that you sorted it out.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register