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.

This topic contains 2 replies, has 3 voices.

Last updated by Alejandro 1 year, 8 months ago.

Assigned support staff: Alejandro.

Author Posts
February 8, 2019 at 10:59 pm #3177280


I am trying to:
- generate a Yoast sitemap

Link to a page where the issue can be seen:
- currently turned off

I expected to see:
- Yoast sitemap

Instead, I got:
[08-Feb-2019 22:49:46 UTC] PHP Catchable fatal error: Object of class WP_Term could not be converted to string in /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-tax-query.php on line 559

If I disable WPML, the Yoast sitemap generates correctly.

February 11, 2019 at 1:02 pm #3182952


Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)


Thank you for contacting WPML Support. I will be glad to help with this.

We have actually a similar known issue that involves Yoast and we are planning on a fix release very soon. I have marked this ticket as fixed in the next release.
I will update you once it is published to check if this issue will be resolved.

Thank you for your patience.

Best regards,
WPML Support

May 1, 2020 at 3:24 pm #6038653


Languages: English (English ) Spanish (Español ) Italian (Italiano )

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


The problem should be fixed so you can make a site backup and update to our latest WPML versions.

Let us know how it goes.