Title: PHP Warning: rtrim()
Last modified: August 22, 2016

---

# PHP Warning: rtrim()

 *  [WebKJGor](https://wordpress.org/support/users/webkjgor/)
 * (@webkjgor)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-warning-rtrim/)
 * Getting a bunch of these errors caused by Yoast in the error log:
 * [27-Jan-2015 20:33:41 UTC] PHP Warning: rtrim() expects parameter 1 to be string,
   object given in /home/karmajel/public_html/jiggle/wp-includes/formatting.php 
   on line 1676
 * Using latest version
 * [https://wordpress.org/plugins/wordpress-seo/](https://wordpress.org/plugins/wordpress-seo/)

Viewing 1 replies (of 1 total)

 *  [hothbricks](https://wordpress.org/support/users/hothbricks/)
 * (@hothbricks)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-warning-rtrim/#post-5726025)
 * Same here, and dozens of people around are also affected.
    Nothing else to do
   than desactivate this plugin to get rid of the error or live with it until someone
   takes care of it… And you need to clean your error_log file or it will get quickly
   to a few MB…

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: rtrim()’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [hothbricks](https://wordpress.org/support/users/hothbricks/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/php-warning-rtrim/#post-5726025)
 * Status: not resolved