[wp-trac] [WordPress Trac] #51913: Potential `unsupported operand types` dashboard fatal on PHP8 + multisite + upload space check

WordPress Trac noreply at wordpress.org
Wed Dec 2 15:33:05 UTC 2020


#51913: Potential `unsupported operand types` dashboard fatal on PHP8 + multisite +
upload space check
-----------------------------+----------------------------------------
 Reporter:  iandunn          |       Owner:  iandunn
     Type:  defect (bug)     |      Status:  accepted
 Priority:  highest omg bbq  |   Milestone:  5.6
Component:  Administration   |     Version:
 Severity:  blocker          |  Resolution:
 Keywords:  php8             |     Focuses:  administration, multisite
-----------------------------+----------------------------------------
Changes (by iandunn):

 * keywords:  php8 needs-testing => php8


Comment:

 CC'ing the authors of those plugins: @sbrajesh, @rebusify, @paramthemes

 Your users may experience a fatal error on WP 5.6, please read the ticket
 above for details.

 The ideal solution for you might be to `include wp-
 includes/functions.php`, rather than copy/pasting those functions into
 your plugin code. I've only glanced at your code, though, so that might
 not work in your specific case. If those files aren't running in a WP
 context, you could use the REST API to access the data instead.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51913#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list