[wp-trac] [WordPress Trac] #51729: PHP 8.0 issue

WordPress Trac noreply at wordpress.org
Sun Nov 8 13:17:39 UTC 2020


#51729: PHP 8.0 issue
--------------------------+-----------------------------
 Reporter:  BackuPs       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi

 Is wordpress latest beta php 8.0 compatible as i am getting a fatal error
 what used to work perfect in php 7.4 or before

 https://share.getcloudapp.com/P8uyPYw4?utm_source=show


 Fatal error: Uncaught TypeError: is_file(): Argument #1 ($filename) must
 be of type string, array given in /var/docs/wpdemo.tst/public/wp-includes
 /class-wp-editor.php on line 489
 ( ! ) TypeError: is_file(): Argument #1 ($filename) must be of type
 string, array given in /var/docs/wpdemo.tst/public/wp-includes/class-wp-
 editor.php on line 489

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


More information about the wp-trac mailing list