[wp-trac] [WordPress Trac] #56948: (WordPress 6.1) Trying to access array offset on value of type int in wp-includes/class-wp-list-util.php on line 170

WordPress Trac noreply at wordpress.org
Wed Nov 2 03:52:26 UTC 2022


#56948: (WordPress 6.1) Trying to access array offset on value of type int in wp-
includes/class-wp-list-util.php on line 170
-------------------------------------------+------------------------------
 Reporter:  konyoldeath                    |       Owner:  (none)
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  General                        |     Version:  6.1
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch reporter-feedback  |     Focuses:
-------------------------------------------+------------------------------

Comment (by konyoldeath):

 Hello @dd32

 Thank you for your response.

 I've tried the debugging methods you mentioned, this is the debugging
 messages using var_dump:

 string(755) "require('wp-blog-header.php'), require_once('wp-includes
 /template-loader.php'), include('/themes/astra/single.php'),
 astra_content_loop, do_action('astra_content_loop'), WP_Hook->do_action,
 WP_Hook->apply_filters, Astra_Loop->loop_markup,
 do_action('astra_template_parts_content'), WP_Hook->do_action,
 WP_Hook->apply_filters, Astra_Loop->template_parts_post,
 get_template_part, locate_template, load_template, require('/themes/astra
 /template-parts/content-single.php'), astra_entry_after,
 do_action('astra_entry_after'), WP_Hook->do_action,
 WP_Hook->apply_filters,
 Astra_Related_Posts_Markup->astra_related_posts_markup,
 Astra_Related_Posts_Markup->astra_get_related_posts, WP_Query->the_post,
 update_post_author_caches, wp_list_pluck, WP_List_Util->pluck"

 I'm using wp astra themes, the warning message showed up after I update my
 webiste to the most recent version of wordpress. The warning message does
 not showed on previous wordpress version.

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


More information about the wp-trac mailing list