[wp-trac] [WordPress Trac] #36992: In get_terms(), getting a fatal error iterating on $terms inside get_terms filter.
WordPress Trac
noreply at wordpress.org
Sat Jun 4 03:00:15 UTC 2016
#36992: In get_terms(), getting a fatal error iterating on $terms inside get_terms
filter.
-------------------------------+---------------------------
Reporter: JustinSainton | Owner: boonebgorges
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.6
Component: Taxonomy | Version: trunk
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+---------------------------
Comment (by nathanrice):
This was sent by one of our testers. I can also send a copy of Genesis to
you if you want to see any of this for yourself.
{{{
[03-Jun-2016 12:05:56 UTC] PHP Fatal error: Uncaught TypeError: Argument
1 passed to
genesis_get_terms_filter() must be of the type array, string given, called
in
/Users/nickcernis/www/trunk/wp-includes/plugin.php on line 235 and defined
in
/Users/nickcernis/www/trunk/wp-content/themes/genesis/lib/admin/term-
meta.php:268
Stack trace:
#0 /Users/nickcernis/www/trunk/wp-includes/plugin.php(235):
genesis_get_terms_filter('2', Array)
#1 /Users/nickcernis/www/trunk/wp-includes/taxonomy.php(1227):
apply_filters('get_terms', '2', Array, Array, Object(WP_Term_Query))
#2 /Users/nickcernis/www/trunk/wp-includes/taxonomy.php(1694):
get_terms(Array, Array)
#3 /Users/nickcernis/www/trunk/wp-admin/includes/class-wp-terms-list-
table.php(127): wp_count_terms('category', Array)
#4 /Users/nickcernis/www/trunk/wp-admin/edit-tags.php(212):
WP_Terms_List_Table->prepare_items()
#5 {main}
thrown in /Users/nickcernis/www/trunk/wp-
content/themes/genesis/lib/admin/term-meta.php on line 268
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36992#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list