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.

This topic contains 1 reply, has 2 voices.

Last updated by Marcos Vinicios Barreto 2 months ago.

Assigned support staff: Marcos Vinicios Barreto.

Author Posts
August 20, 2019 at 11:24 pm #4426797

arifA

I am trying to translate category from english to turkish language but It gives me fatal error.

[Tue Aug 20 23:05:00.096656 2019] [php7:error] [pid 20717] [client 94.204.50.241:16308] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function SitePress::terms_clauses(), 1 passed and exactly 3 expected in /nas/content/live/productionwebsite/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:2525\nStack trace:\n#0 [internal function]: SitePress->terms_clauses(Array)\n#1 /nas/content/live/productionwebsite/wp-includes/class-wp-hook.php(288): call_user_func_array(Array, Array)\n#2 /nas/content/live/productionwebsite/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)\n#3 /nas/content/live/productionwebsite/wp-includes/class-wp-term-query.php(654): apply_filters('terms_clauses', Array, Array, Array)\n#4 /nas/content/live/productionwebsite/wp-includes/class-wp-term-query.php(288): WP_Term_Query->get_terms()\n#5 /nas/content/live/productionwebsite/wp-includes/taxonomy.php(1178): WP_Term_Query->query(Array)\n#6 /nas/content/live/productionwebsite/wp-includes/taxonomy.php(972): get_terms(Array)\n#7 /nas/content/live/productionwebsite/wp-content/plugins/sitepress-multilingual-cms/inc/wpml-post-edit-ajax.class.php(64): get_term in /nas/content/live/productionwebsite/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 2525, referer: hidden link

Please I need help.

August 21, 2019 at 4:59 pm #4434079

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for contacting WPML Support. I made a search in our forum for related issues and noticed it could be related with this errata: https://wpml.org/errata/yoast-seo-strip-the-category-base-does-not-work-in-the-second-language/. Can you please take a look and let me know if it fixes your issue? Thank you for your collaboration, have a nice day.