[wp-trac] [WordPress Trac] #56590: TypeError error in get_the_content when $elements['page'] and $elements['pages'] are null
WordPress Trac
noreply at wordpress.org
Fri Sep 23 01:03:57 UTC 2022
#56590: TypeError error in get_the_content when $elements['page'] and
$elements['pages'] are null
-------------------------------------------------+-------------------------
Reporter: cantbelieveitsnotbutter | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Posts, Post Types | Version: 6.0.2
Severity: normal | Resolution:
Keywords: has-patch changes-requested needs- | Focuses:
testing-info |
-------------------------------------------------+-------------------------
Changes (by ironprogrammer):
* keywords: has-patch => has-patch changes-requested needs-testing-info
* component: Bootstrap/Load => Posts, Post Types
Comment:
Welcome to Trac, @cantbelieveitsnotbutter, and thank you for the ticket
and follow-up PR! 🙌🏻🙌🏻
I believe this ticket would do well to have detailed
[https://make.wordpress.org/test/handbook/test-reports/#bug-defect-
testing-instructions-template steps to reproduce] the error you're
encountering. You mentioned a specific plugin, but adding repro info with
setup/sample code that triggers the error would be very helpful. I've
added keyword `needs-testing-info` to this effect.
While it may be premature to consider a patch -- the error should ideally
be reproducible by additional contributors -- I did notice that there are
some coding standards checks and E2E test issues
[https://github.com/WordPress/wordpress-develop/pull/3266/checks that
should be reviewed]. Please refer to WordPress's
[https://developer.wordpress.org/coding-standards/wordpress-coding-
standards/php/ PHP Coding Standards] for more info.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56590#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list