After upgrading PHP to 7.4 FastCGI I'm getting these errors:
: fread(): read of 8192 bytes failed with errno=21 Is a directory in example/wp/wp-includes/functions.php on line 5977
And:
Warning: Cannot modify header information - headers already sent by (output started at example/wp/wp-includes/functions.php:5977) in example/wp/wp-admin/admin-header.php on line 9
I have 3 plugins all disabled.
After upgrading PHP to 7.4 FastCGI I'm getting these errors:
: fread(): read of 8192 bytes failed with errno=21 Is a directory in example/wp/wp-includes/functions.php on line 5977
And:
Warning: Cannot modify header information - headers already sent by (output started at example/wp/wp-includes/functions.php:5977) in example/wp/wp-admin/admin-header.php on line 9
I have 3 plugins all disabled.
Share Improve this question asked Jun 24, 2020 at 19:12 1.21 gigawatts1.21 gigawatts 1,0003 gold badges13 silver badges34 bronze badges 3 |1 Answer
Reset to default 1That sounds like a theme problem, since you have all plugins disabled. The theme has some error, possibly some extra spaces at the top of a file.
I'd change to one of the 'Twenty' themes and see if the problem stops. If so, contact your theme's support area.
If problem persists with one of the "Twenty" themes active, then I'd try a re-install/re-update of the WP core code, using the Admin, Updates screen.
fread
call github/WordPress/WordPress/blob/master/wp-includes/… – Tom J Nowell ♦ Commented Jun 24, 2020 at 21:08