[wp-trac] [WordPress Trac] #24761: PHP Warning: filesize(): stat failed for /tmp/php4eOOiM in wp-admin/includes/ms.php on line 30, referer: http://foo.somesite.com/wp-admin/post.php?post=81&action=edit

WordPress Trac noreply at wordpress.org
Mon Jul 15 20:17:54 UTC 2013


#24761: PHP Warning:  filesize(): stat failed for /tmp/php4eOOiM in wp-
admin/includes/ms.php on line 30, referer: http://foo.somesite.com/wp-
admin/post.php?post=81&action=edit
-------------------------------+------------------------------
 Reporter:  conner_bw          |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.5.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by conner_bw):

 IMHO the simplest solution would be to supresss the warning, ie.

 {{{$file_size = @filesize( $file['tmp_name'] );}}}

 But this could be considered sloppy.

 Cheers.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24761#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list