[wp-trac] [WordPress Trac] #49729: Warning: fread() expects parameter 1 to be resource, bool given in \wp-includes\functions.php on line 5785

WordPress Trac noreply at wordpress.org
Mon Mar 30 12:47:43 UTC 2020


#49729: Warning: fread() expects parameter 1 to be resource, bool given in \wp-
includes\functions.php on line 5785
----------------------------+-----------------------------
 Reporter:  DrLightman      |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Plugins         |    Version:  5.3.2
 Severity:  minor           |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 Happens in dashboard and it goes coupled with:


 {{{
 Warning: fread() expects parameter 1 to be resource, bool given in ...\wp-
 includes\functions.php on line 5785

 Warning: fclose() expects parameter 1 to be resource, bool given in
 ...\wp-includes\functions.php on line 5788
 }}}

 PHP 7.4

 I think it occurs mostly when one loads the dashboard after a directory's
 previously active plugin has been deleted from the filesystem.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49729>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list