Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Dražen 1 year, 5 months ago.

Assisted by: Dražen.

Author Posts
July 21, 2023 at 2:42 pm #14080779

rayaA

https://wpml.org/forums/topic/too-few-arguments-to-function-sitepressterms_clauses-2/?bbp_reply_to=14039403&_wpnonce=ac76bee8a2#new-post

Hello this topic was automatically closed and resolved and wouldn't let me reply to it. It says on the bottom "you can still re-open below within 12 hours. Otherwise if this option is no longer available, please start a new thread." but there is no option anywhere to re open it. It will not let me reply cause when I try to the page jumps down to the aforementioned alert.

Thank you for your assistance! I would like to add the fix to the plugin, but I am not able to see the code because the video provided in the last post of the link is blurred. Can you please share a higher definition / higher quality video in which the code and words are clear enough to see?
Thank you

July 24, 2023 at 6:32 am #14085683

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

please change the next two files:

- wp-content/plugins/theme-blvd-widget-pack/includes/tb-widget-mini-post-grid.php:92
- wp-content/plugins/theme-blvd-widget-pack/includes/tb-widget-mini-post-list.php:90

change:

add_filter('terms_clauses', array( $sitepress, 'terms_clauses' ));

with

add_filter('terms_clauses', array( $sitepress, 'terms_clauses' ), 10, 3);

Please make a backup before proceeding.

Regards,
Drazen