[wp-trac] [WordPress Trac] #25356: rtrim() warning
WordPress Trac
noreply at wordpress.org
Thu Sep 19 18:38:55 UTC 2013
#25356: rtrim() warning
--------------------------+-----------------------------
Reporter: fale | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.6
Severity: minor | Keywords:
--------------------------+-----------------------------
I'm having this rtirm() warning:
PHP Warning: rtrim() expects parameter 1 to be string, object given in
/var/www/blog/wp-includes/formatting.php on line 1408
PHP Stack trace:
PHP 1. {main}() /var/www/blog/index.php:0
PHP 2. require() /var/www/blog/index.php:17
PHP 3. wp() /var/www/blog/wp-blog-header.php:14
PHP 4. WP->main() /var/www/blog/wp-includes/functions.php:779
PHP 5. WP->query_posts() /var/www/blog/wp-includes/class-wp.php:549
PHP 6. WP_Query->query() /var/www/blog/wp-includes/class-wp.php:485
PHP 7. WP_Query->get_posts() /var/www/blog/wp-includes/query.php:2989
PHP 8. do_action_ref_array() /var/www/blog/wp-includes/query.php:1924
PHP 9. call_user_func_array() /var/www/blog/wp-includes/plugin.php:487
PHP 10. Polylang_Core->pre_get_posts() /var/www/blog/wp-
includes/plugin.php:487
PHP 11. Polylang_Core->home_requested() /var/www/blog/wp-
content/plugins/polylang/include/core.php:494
PHP 12. Polylang_Core->_home_requested() /var/www/blog/wp-
content/plugins/polylang/include/core.php:425
PHP 13. Polylang_Core->get_home_url() /var/www/blog/wp-
content/plugins/polylang/include/core.php:446
PHP 14. trailingslashit() /var/www/blog/wp-
content/plugins/polylang/include/core.php:929
PHP 15. untrailingslashit() /var/www/blog/wp-includes/formatting.php:1393
PHP 16. rtrim() /var/www/blog/wp-includes/formatting.php:1408
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25356>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list