-
I’m getting a constant error which appears to be generated by bots hitting my archives:
Array to string conversion in [redacted]/wp-includes/functions.php on line 110
I tried to trace when the error occurs; I saw results such as below:
(
[public_query_vars] => Array
(
[0] => m
[1] => p
[2] => posts
[3] => w
[4] => cat
[5] => withcomments
[6] => withoutcomments
[7] => s
[8] => search
[9] => exact
[10] => sentence
[11] => calendar
[12] => page
[13] => paged
[14] => more
[15] => tb
[16] => pb
[17] => author
[18] => order
[19] => orderby
[20] => year
[21] => monthnum
[22] => day
[23] => hour
[24] => minute
[25] => second
[26] => name
[27] => category_name
[28] => tag
[29] => feed
[30] => author_name
[31] => static
[32] => pagename
[33] => page_id
[34] => error
[35] => attachment
[36] => attachment_id
[37] => subpost
[38] => subpost_id
[39] => preview
[40] => robots
[41] => taxonomy
[42] => term
[43] => cpage
[44] => post_type
[45] => embed
[46] => post_format
[47] => sitemap
[48] => sitemap_n
[49] => xsl
[50] => rest_route
[51] => link_library_category
[52] => link_library_tags
[53] => cat_name
[54] => qppr-file-type
)[private_query_vars] => Array
(
[0] => offset
[1] => posts_per_page
[2] => posts_per_archive_page
[3] => showposts
[4] => nopaging
[5] => post_type
[6] => post_status
[7] => category__in
[8] => category__not_in
[9] => category__and
[10] => tag__in
[11] => tag__not_in
[12] => tag__and
[13] => tag_slug__in
[14] => tag_slug__and
[15] => tag_id
[16] => post_mime_type
[17] => perm
[18] => comments_per_page
[19] => post__in
[20] => post__not_in
[21] => post_parent
[22] => post_parent__in
[23] => post_parent__not_in
[24] => title
[25] => fields
)[extra_query_vars] => Array
(
)[query_vars] => Array
(
[paged] => 4
[year] => 2013
[monthnum] => 07
)[query_string] => paged=4&year=2013&monthnum=07
[request] => 2013/07/page/4
[matched_rule] => ([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$
[matched_query] => year=2013&monthnum=07&paged=4
[did_permalink] => 1
)
The ticket ‘PHP error: Array to string conversion’ is closed to new replies.