Title: Error Message
Last modified: August 31, 2016

---

# Error Message

 *  [antanast](https://wordpress.org/support/users/antanast/)
 * (@antanast)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-message-516/)
 * Hey there. I get this error in the backend:
 * Catchable fatal error: Object of class WP_Error could not be converted to string
   in /home/worldfoodtravel/public_html/wp-content/plugins/the-events-calendar/src/
   Tribe/Rewrite.php on line 198
 * This is line 198:
 *  // When creating the link we need to re-do the Percent Placeholder
    $permalink
   = str_replace( self::PERCENT_PLACEHOLDER, ‘%’, $permalink );
 *  if ( ! $this->is_wpml_active() || empty( $_GET[‘lang’] ) ) {
    return $permalink;}
 *  return add_query_arg( array( ‘lang’ => $_GET[‘lang’] ), $permalink );
    }
 * [https://wordpress.org/plugins/woocommerce-product-faqs/](https://wordpress.org/plugins/woocommerce-product-faqs/)

The topic ‘Error Message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-product-faqs_68b5d8.svg)
 * [WooCommerce Product FAQs](https://wordpress.org/plugins/woocommerce-product-faqs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-product-faqs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-product-faqs/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-product-faqs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-product-faqs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-product-faqs/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [antanast](https://wordpress.org/support/users/antanast/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/error-message-516/)
 * Status: not resolved