Issues with WPML
-
Hi!
We noticed an issue with how the code handles breadcrumbs when viewing a translated site, and the translation doesn’t yet contain all the required relationships.
For example, we have a product cpt on our site that has a custom taxonomy for product_type.
When translating manually through WPML, we receive the following error on page load:
Catchable fatal error: Object of class WP_Error could not be converted to string in wp-includes/formatting.php on line 2896If I remove the breadcrumb navxt code from the theme, it works fine.
I think the issue is that it’s looking for a translation of the product type category but as this doesn’t exist yet, WordPress is returning an Error object and Breadcrumb NavXT isn’t handling the fact an error is returned correctly.
The topic ‘Issues with WPML’ is closed to new replies.