[wp-trac] [WordPress Trac] #51390: PHP error: Trying to access array offset on value of type bool in /wp-admin/includes/meta-boxes.php on line 482
WordPress Trac
noreply at wordpress.org
Wed Oct 28 15:14:57 UTC 2020
#51390: PHP error: Trying to access array offset on value of type bool in /wp-
admin/includes/meta-boxes.php on line 482
----------------------------+-----------------------------
Reporter: sproutchris | Owner: SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.6
Component: Post Formats | Version: 5.5.1
Severity: normal | Resolution:
Keywords: has-unit-tests | Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):
* keywords: has-patch has-unit-tests commit => has-unit-tests
* status: closed => reopened
* resolution: fixed =>
Comment:
There is now some unexpected output in the unit test suite, as seen in
[https://travis-ci.com/github/WordPress/wordpress-develop/jobs/412250650
this build] for example:
`Notice: add_theme_support( 'post-formats' ) was called
<strong>incorrectly</strong>. You need to pass an array of types. Please
see <a href="https://wordpress.org/support/article/debugging-in-
wordpress/">Debugging in WordPress</a> for more information. (This message
was added in version 5.6.0.) in /var/www/build/wp-includes/functions.php
on line 5289`
Cannot reproduce locally so far. Reopening for investigation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51390#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list