PHP Errors: dirname() and basename()
-
Hello,
I’m getting PHP errors in my php-fpm error log. This is a multisite running 4.6.1 and a handful of plugins.
[22-Nov-2016 14:41:53 UTC] PHP Warning: dirname() expects parameter 1 to be string, object given in /var/www/sites_htdocs/wp/wp-includes/media.php on line 929
[22-Nov-2016 14:41:53 UTC] PHP Warning: basename() expects parameter 1 to be string, object given in /var/www/sites_htdocs/wp/wp-includes/post.php on line 4926
[22-Nov-2016 14:41:53 UTC] PHP Warning: strpos() expects parameter 1 to be string, object given in /var/www/sites_htdocs/wp/wp-includes/post.php on line 4921
[22-Nov-2016 14:41:53 UTC] PHP Warning: strpos() expects parameter 1 to be string, object given in /var/www/sites_htdocs/wp/wp-includes/post.php on line 4924
[22-Nov-2016 14:41:53 UTC] PHP Warning: dirname() expects parameter 1 to be string, object given in /var/www/sites_htdocs/wp/wp-includes/media.php on line 929
[22-Nov-2016 14:41:53 UTC] PHP Warning: basename() expects parameter 1 to be string, object given in /var/www/sites_htdocs/wp/wp-includes/post.php on line 4926
[22-Nov-2016 14:43:11 UTC] PHP Warning: strpos() expects parameter 1 to be string, object given in /var/www/sites_htdocs/wp/wp-includes/post.php on line 4921
[22-Nov-2016 14:43:11 UTC] PHP Warning: strpos() expects parameter 1 to be string, object given in /var/www/sites_htdocs/wp/wp-includes/post.php on line 4924
[22-Nov-2016 14:43:11 UTC] PHP Warning: dirname() expects parameter 1 to be string, object given in /var/www/sites_htdocs/wp/wp-includes/media.php on line 929
[22-Nov-2016 14:43:11 UTC] PHP Warning: basename() expects parameter 1 to be string, object given in /var/www/sites_htdocs/wp/wp-includes/post.php on line 4926Thanks for any assistance!
- The topic ‘PHP Errors: dirname() and basename()’ is closed to new replies.