PHP Notice in ClassicPress core function

I’m getting this error on one of my installations:
PHP Notice: Array to string conversion in /home/[redacted]/wp-includes/functions.php on line 110

That is almost certainly being triggered by a plugin. The question is which one.

I have an idea which one (it updated when the errors started). I contacted the plugin author.

Hi Nyssa; I’ll mark this resolved, unless you have other questions?

No, not at this time.

I have had myself a very similar issue after updating a plugin on one of my CP sites, but not on the other ones. I just ignored it and encountered no error subsequently.

I can’t figure out what’s causing it. The plugin wasn’t doing it after all. I checked some other plugins; none were doing it. It looked like cron jobs were triggering, so I tried deleting them and letting the plugins repopulate; the errors continue. I FTP’d fresh core files to my site; the errors continue.

@NyssaTheHobbit I wouldn’t worry too much about this, it’s just a notice. Still, if you want to track it down, here’s the place to start.

What’s on wp-includes/functions.php line 110?

This varies by ClassicPress version, and looking at it here I see $dateformatstring = ' '.$dateformatstring; which isn’t especially helpful by itself.

The next step beyond that is to get a full stack trace when the error happens.

It’s a notice that’s cluttering up my debug file. :stuck_out_tongue:

What is a stack trace?

From Wikipedia:

A stack trace allows tracking the sequence of nested functions called - up to the point where the stack trace is generated.

In other words - not just line 110 of functions.php, but the entire code path that caused this line to be executed with a notice.

1 Like

A little research revealed that this appears to be bots hitting my archives and calling up that error. I tried re-saving my archive settings in Rank Math. Now I wait to find out if that fixes the problem…

The trace didn’t tell me much except that bots call up the error when hitting the archives and the date/time function. Since the Rank Math plugin controls the archives, I brought it up to them, but they don’t think the plugin is causing it. But no plugin is specified as the culprit in the trace.

What the heck could be causing it, then? I’m getting these errors every few minutes and have to delete the debug file multiple times a day.

Let’s start with confirming this basic info…

Also post what you have here please

Line 110 refers to date/time.

I just caught a couple of the errors on my tracing plugin:

Error logs (warning: very long)
[SERVER_SOFTWARE] => Apache
[REQUEST_URI] => /main/2013/07/26/
[PATH] => /usr/local/bin:/usr/bin:/bin
[REDIRECT_STATUS] => 200
[UNIQUE_ID] => XJ2OBdRUukBpxWFDNm85WwAAABM
[HTTPS] => on
[PHPHANDLER] => /usr/local/php73/bin/php
[HTTP_HOST] => nyssashobbithole.com
[HTTP_X_REAL_IP] => 157.55.39.89
[HTTP_X_FORWARDED_PROTO] => https
[HTTP_ACCEPT_ENCODING] => gzip
[HTTP_CONNECTION] => close
[HTTP_CF_IPCOUNTRY] => US
[HTTP_CF_RAY] => 4beeaf4159fdc977-ORD
[HTTP_CF_VISITOR] => {"scheme":"https"}
[HTTP_CACHE_CONTROL] => no-cache
[HTTP_PRAGMA] => no-cache
[HTTP_ACCEPT] => */*
[HTTP_USER_AGENT] => Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)
[HTTP_CF_CONNECTING_IP] => 157.55.39.89
[HTTP_CDN_LOOP] => cloudflare
[SERVER_NAME] => nyssashobbithole.com
[SERVER_ADDR] => 77.104.152.175
[SERVER_PORT] => 443
[REMOTE_HOST] => msnbot-157-55-39-89.search.msn.com
[REMOTE_ADDR] => 157.55.39.89
[DOCUMENT_ROOT] => /home/nyssasho/public_html
[SERVER_ADMIN] => [email protected]
[SCRIPT_FILENAME] => /home/nyssasho/public_html/main/index.php
[REMOTE_PORT] => 49140
[REDIRECT_URL] => /main/2013/07/26/
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.0
[REQUEST_METHOD] => GET
[QUERY_STRING] => 
[SCRIPT_NAME] => /main/index.php
[PHP_SELF] => /main/index.php
[REQUEST_TIME_FLOAT] => 1553829381.4434
[REQUEST_TIME] => 1553829381

)

wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1095:0) bw_trace_trace_startup(3) 2019-03-29T03:16:21+00:00 0.000346 0.000037 _REQUEST Array
(
)

wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1097:0) bw_trace_trace_startup(4) 2019-03-29T03:16:21+00:00 0.000363 0.000017 _GET Array
(
)

wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1098:0) bw_trace_trace_startup(5) 2019-03-29T03:16:21+00:00 0.000378 0.000015 _POST Array
(
)

wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1102:0) bw_trace_trace_startup(6) 2019-03-29T03:16:21+00:00 0.000392 0.000014 tracelog /home/nyssasho/public_html/main/bwtrace.loh
wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1103:0) bw_trace_trace_startup(7) 2019-03-29T03:16:21+00:00 0.000414 0.000022 locale C
wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1104:0) bw_trace_trace_startup(8) 2019-03-29T03:16:21+00:00 0.000428 0.000014 bw_action_options Array
(
[count] => 0
[trace_deprecated] => 0
[trace_errors] => on
[trace_wp_action] => on
[trace_wp_rewrite] => 0
[trace_included_files] => 0
[trace_saved_queries] => 0
[trace_output_buffer] => 0
[trace_functions] => 0
[trace_status_report] => 0
[hooks] =>
[results] =>
[post_hooks] =>
[hook_funcs] =>
[backtrace] =>
[stringwatch] =>
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(1) 2019-03-29T03:16:21+00:00 0.000765 0.000337 4 Array
(
[0] => wp
[1] => trace_wp_action
[2] => includes/oik-actions.php
[3] => bw_trace_wp
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(2) 2019-03-29T03:16:21+00:00 0.000797 0.000032 4 Array
(
[0] => wp
[1] => trace_wp_rewrite
[2] => includes/oik-actions.php
[3] => bw_trace_wp_rewrite
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(3) 2019-03-29T03:16:21+00:00 0.000818 0.000021 4 Array
(
[0] => shutdown
[1] => trace_included_files
[2] => includes/oik-actions.php
[3] => bw_trace_included_files
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(4) 2019-03-29T03:16:21+00:00 0.000837 0.000019 4 Array
(
[0] => shutdown
[1] => trace_saved_queries
[2] => includes/oik-actions.php
[3] => bw_trace_saved_queries
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(5) 2019-03-29T03:16:21+00:00 0.000855 0.000018 4 Array
(
[0] => shutdown
[1] => trace_output_buffer
[2] => includes/oik-actions.php
[3] => bw_trace_output_buffer
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(6) 2019-03-29T03:16:21+00:00 0.000872 0.000017 4 Array
(
[0] => shutdown
[1] => trace_functions
[2] => includes/oik-actions.php
[3] => bw_trace_functions_traced
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(7) 2019-03-29T03:16:21+00:00 0.000889 0.000017 4 Array
(
[0] => shutdown
[1] => trace_status_report
[2] => includes/oik-actions.php
[3] => bw_trace_status_report
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(8) 2019-03-29T03:16:21+00:00 0.000906 0.000017 4 Array
(
[0] => shutdown
[1] => trace_plugin_paths
[2] => includes/oik-actions.php
[3] => bw_trace_plugin_paths
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(9) 2019-03-29T03:16:21+00:00 0.000929 0.000023 5 Array
(
[0] => deprecated_constructor_run
[1] => trace_deprecated
[2] => includes/bwtrace-actions.php
[3] => bw_trace_deprecated_constructor_run
[4] => 2
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(196:32) bw_trace_add_error_handler(1) 2019-03-29T03:16:21+00:00 0.000950 0.000021 Previous error handler
wp-content/plugins/oik-bwtrace/includes/oik-actions.php(394:32) bw_trace_plugin_paths(1) 2019-03-29T03:16:21+00:00 0.078735 0.077785 plugin paths Array
(
)

wp-content/plugins/oik-bwtrace/oik-bwtrace.php(247:0) oik_bwtrace_plugins_loaded(1) 2019-03-29T03:16:21+00:00 0.147428 0.068693 1
wp-content/plugins/oik-bwtrace/oik-bwtrace.php(247:0) oik_bwtrace_plugins_loaded(2) 2019-03-29T03:16:21+00:00 0.147477 0.000049 Unable to activate oik-bwtrace admin
wp-content/plugins/oik-bwtrace/includes/oik-actions.php(365:0) bw_trace_wp(1) 2019-03-29T03:16:21+00:00 0.162560 0.015083 1 WP Object
(
[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
    (
        [year] => 2013
        [monthnum] => 07
        [day] => 26
    )

[query_string] => year=2013&monthnum=07&day=26
[request] => 2013/07/26
[matched_rule] => ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$
[matched_query] => year=2013&monthnum=07&day=26
[did_permalink] => 1

[SERVER_SOFTWARE] => Apache
[REQUEST_URI] => /main/black-forest-dream/
[PATH] => /usr/local/bin:/usr/bin:/bin
[REDIRECT_STATUS] => 200
[UNIQUE_ID] => XJ2Oh61xM6y0MdQja6tUaAAAAAA
[HTTPS] => on
[PHPHANDLER] => /usr/local/php73/bin/php
[HTTP_HOST] => nyssashobbithole.com
[HTTP_X_REAL_IP] => 77.104.152.190
[HTTP_X_FORWARDED_PROTO] => https
[HTTP_ACCEPT_ENCODING] => deflate, gzip
[HTTP_CONNECTION] => close
[HTTP_USER_AGENT] => WP Fastest Cache Preload Bot
[HTTP_ACCEPT] => /
[HTTP_REFERER] => https://nyssashobbithole.com/main/black-forest-dream/
[HTTP_CACHE_CONTROL] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
[SERVER_NAME] => nyssashobbithole.com
[SERVER_ADDR] => 77.104.152.175
[SERVER_PORT] => 443
[REMOTE_HOST] => us40.siteground.us
[REMOTE_ADDR] => 77.104.152.190
[DOCUMENT_ROOT] => /home/nyssasho/public_html
[SERVER_ADMIN] => [email protected]
[SCRIPT_FILENAME] => /home/nyssasho/public_html/main/index.php
[REMOTE_PORT] => 41788
[REDIRECT_URL] => /main/black-forest-dream/
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.0
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[SCRIPT_NAME] => /main/index.php
[PHP_SELF] => /main/index.php
[REQUEST_TIME_FLOAT] => 1553829511.9584
[REQUEST_TIME] => 1553829511
)

wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1095:0) bw_trace_trace_startup(3) 2019-03-29T03:18:32+00:00 0.000382 0.000025 _REQUEST Array
(
)

wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1097:0) bw_trace_trace_startup(4) 2019-03-29T03:18:32+00:00 0.000398 0.000016 _GET Array
(
)

wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1098:0) bw_trace_trace_startup(5) 2019-03-29T03:18:32+00:00 0.000412 0.000014 _POST Array
(
)

wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1102:0) bw_trace_trace_startup(6) 2019-03-29T03:18:32+00:00 0.000427 0.000015 tracelog /home/nyssasho/public_html/main/bwtrace.loh
wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1103:0) bw_trace_trace_startup(7) 2019-03-29T03:18:32+00:00 0.000450 0.000023 locale C
wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1104:0) bw_trace_trace_startup(8) 2019-03-29T03:18:32+00:00 0.000465 0.000015 bw_action_options Array
(
[count] => 0
[trace_deprecated] => 0
[trace_errors] => on
[trace_wp_action] => on
[trace_wp_rewrite] => 0
[trace_included_files] => 0
[trace_saved_queries] => 0
[trace_output_buffer] => 0
[trace_functions] => 0
[trace_status_report] => 0
[hooks] =>
[results] =>
[post_hooks] =>
[hook_funcs] =>
[backtrace] =>
[stringwatch] =>
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(1) 2019-03-29T03:18:32+00:00 0.000815 0.000350 4 Array
(
[0] => wp
[1] => trace_wp_action
[2] => includes/oik-actions.php
[3] => bw_trace_wp
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(2) 2019-03-29T03:18:32+00:00 0.000849 0.000034 4 Array
(
[0] => wp
[1] => trace_wp_rewrite
[2] => includes/oik-actions.php
[3] => bw_trace_wp_rewrite
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(3) 2019-03-29T03:18:32+00:00 0.000872 0.000023 4 Array
(
[0] => shutdown
[1] => trace_included_files
[2] => includes/oik-actions.php
[3] => bw_trace_included_files
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(4) 2019-03-29T03:18:32+00:00 0.000892 0.000020 4 Array
(
[0] => shutdown
[1] => trace_saved_queries
[2] => includes/oik-actions.php
[3] => bw_trace_saved_queries
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(5) 2019-03-29T03:18:32+00:00 0.000916 0.000024 4 Array
(
[0] => shutdown
[1] => trace_output_buffer
[2] => includes/oik-actions.php
[3] => bw_trace_output_buffer
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(6) 2019-03-29T03:18:32+00:00 0.000935 0.000019 4 Array
(
[0] => shutdown
[1] => trace_functions
[2] => includes/oik-actions.php
[3] => bw_trace_functions_traced
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(7) 2019-03-29T03:18:32+00:00 0.000954 0.000019 4 Array
(
[0] => shutdown
[1] => trace_status_report
[2] => includes/oik-actions.php
[3] => bw_trace_status_report
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(8) 2019-03-29T03:18:32+00:00 0.000972 0.000018 4 Array
(
[0] => shutdown
[1] => trace_plugin_paths
[2] => includes/oik-actions.php
[3] => bw_trace_plugin_paths
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(9) 2019-03-29T03:18:32+00:00 0.000990 0.000018 5 Array
(
[0] => deprecated_constructor_run
[1] => trace_deprecated
[2] => includes/bwtrace-actions.php
[3] => bw_trace_deprecated_constructor_run
[4] => 2
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(196:32) bw_trace_add_error_handler(1) 2019-03-29T03:18:32+00:00 0.001011 0.000021 Previous error handler
wp-content/plugins/oik-bwtrace/includes/oik-actions.php(394:32) bw_trace_plugin_paths(1) 2019-03-29T03:18:32+00:00 0.074166 0.073155 plugin paths Array
(
)

wp-content/plugins/oik-bwtrace/oik-bwtrace.php(247:0) oik_bwtrace_plugins_loaded(1) 2019-03-29T03:18:32+00:00 0.136137 0.061971 1
wp-content/plugins/oik-bwtrace/oik-bwtrace.php(247:0) oik_bwtrace_plugins_loaded(2) 2019-03-29T03:18:32+00:00 0.136180 0.000043 Unable to activate oik-bwtrace admin
wp-content/plugins/oik-bwtrace/includes/oik-actions.php(365:0) bw_trace_wp(1) 2019-03-29T03:18:32+00:00 0.148899 0.012719 1 WP Object
(
[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
    (
        [page] => 
        [name] => black-forest-dream
    )

[query_string] => name=black-forest-dream
[request] => black-forest-dream
[matched_rule] => ([^/]+)(?:/([0-9]+))?/?$
[matched_query] => name=black-forest-dream&page=
[did_permalink] => 1

)

wp-content/plugins/oik-bwtrace/includes/oik-actions.php(371:0) bw_trace_wp(2) 2019-03-29T03:18:32+00:00 0.149011 0.000112 page,5,17177 show,page,posts
wp-content/plugins/oik-bwtrace/includes/oik-actions.php(372:0) bw_trace_wp(3) 2019-03-29T03:18:32+00:00 0.149039 0.000028 home
wp-content/plugins/oik-bwtrace/includes/oik-actions.php(373:0) bw_trace_wp(4) 2019-03-29T03:18:32+00:00 0.149060 0.000021 front
wp-content/plugins/oik-bwtrace/includes/oik-action-counts.php(22:32) bw_trace_activate_mu(1) 2019-03-29T03:18:32+00:00 0.000001 0.000001 1 0
wp-content/plugins/oik-bwtrace/includes/oik-action-counts.php(22:32) bw_trace_activate_mu(2) 2019-03-29T03:18:32+00:00 0.000075 0.000074 target dir /home/nyssasho/public_html/main/wp-content/mu-plugins
wp-content/plugins/oik-bwtrace/includes/oik-action-counts.php(294:32) bw_trace_count_plugins_loaded(1) 2019-03-29T03:18:32+00:00 0.000109 0.000034 count_hooks 0
wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1092:0) bw_trace_trace_startup(1) 2019-03-29T03:18:32+00:00 0.000260 0.000151 Trace level: Debug level 32
wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1094:0) bw_trace_trace_startup(2) 2019-03-29T03:18:32+00:00 0.000285 0.000025 _SERVER Array
(
[SERVER_SOFTWARE] => Apache
[REQUEST_URI] => /main/rapists-apologizing-or-not/
[PATH] => /usr/local/bin:/usr/bin:/bin
[REDIRECT_STATUS] => 200
[UNIQUE_ID] => XJ2OiC3fzpWpyK2dqonoQgAAAAw
[HTTPS] => on
[PHPHANDLER] => /usr/local/php73/bin/php
[HTTP_HOST] => nyssashobbithole.com
[HTTP_X_REAL_IP] => 77.104.152.190
[HTTP_X_FORWARDED_PROTO] => https
[HTTP_ACCEPT_ENCODING] => deflate, gzip
[HTTP_CONNECTION] => close
[HTTP_USER_AGENT] => WP Fastest Cache Preload Bot
[HTTP_ACCEPT] => /
[HTTP_REFERER] => https://nyssashobbithole.com/main/rapists-apologizing-or-not/
[HTTP_CACHE_CONTROL] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
[SERVER_NAME] => nyssashobbithole.com
[SERVER_ADDR] => 77.104.152.175
[SERVER_PORT] => 443
[REMOTE_HOST] => us40.siteground.us
[REMOTE_ADDR] => 77.104.152.190
[DOCUMENT_ROOT] => /home/nyssasho/public_html
[SERVER_ADMIN] => [email protected]
[SCRIPT_FILENAME] => /home/nyssasho/public_html/main/index.php
[REMOTE_PORT] => 41842
[REDIRECT_URL] => /main/rapists-apologizing-or-not/
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.0
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[SCRIPT_NAME] => /main/index.php
[PHP_SELF] => /main/index.php
[REQUEST_TIME_FLOAT] => 1553829512.4165
[REQUEST_TIME] => 1553829512
)

wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1095:0) bw_trace_trace_startup(3) 2019-03-29T03:18:32+00:00 0.000309 0.000024 _REQUEST Array
(
)

wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1097:0) bw_trace_trace_startup(4) 2019-03-29T03:18:32+00:00 0.000326 0.000017 _GET Array
(
)

wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1098:0) bw_trace_trace_startup(5) 2019-03-29T03:18:32+00:00 0.000341 0.000015 _POST Array
(
)

wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1102:0) bw_trace_trace_startup(6) 2019-03-29T03:18:32+00:00 0.000356 0.000015 tracelog /home/nyssasho/public_html/main/bwtrace.loh
wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1103:0) bw_trace_trace_startup(7) 2019-03-29T03:18:32+00:00 0.000388 0.000032 locale C
wp-content/plugins/oik-bwtrace/includes/bwtrace.php(1104:0) bw_trace_trace_startup(8) 2019-03-29T03:18:32+00:00 0.000404 0.000016 bw_action_options Array
(
[count] => 0
[trace_deprecated] => 0
[trace_errors] => on
[trace_wp_action] => on
[trace_wp_rewrite] => 0
[trace_included_files] => 0
[trace_saved_queries] => 0
[trace_output_buffer] => 0
[trace_functions] => 0
[trace_status_report] => 0
[hooks] =>
[results] =>
[post_hooks] =>
[hook_funcs] =>
[backtrace] =>
[stringwatch] =>
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(1) 2019-03-29T03:18:32+00:00 0.000756 0.000352 4 Array
(
[0] => wp
[1] => trace_wp_action
[2] => includes/oik-actions.php
[3] => bw_trace_wp
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(2) 2019-03-29T03:18:32+00:00 0.000789 0.000033 4 Array
(
[0] => wp
[1] => trace_wp_rewrite
[2] => includes/oik-actions.php
[3] => bw_trace_wp_rewrite
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(3) 2019-03-29T03:18:32+00:00 0.000811 0.000022 4 Array
(
[0] => shutdown
[1] => trace_included_files
[2] => includes/oik-actions.php
[3] => bw_trace_included_files
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(4) 2019-03-29T03:18:32+00:00 0.000830 0.000019 4 Array
(
[0] => shutdown
[1] => trace_saved_queries
[2] => includes/oik-actions.php
[3] => bw_trace_saved_queries
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(5) 2019-03-29T03:18:32+00:00 0.000848 0.000018 4 Array
(
[0] => shutdown
[1] => trace_output_buffer
[2] => includes/oik-actions.php
[3] => bw_trace_output_buffer
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(6) 2019-03-29T03:18:32+00:00 0.000866 0.000018 4 Array
(
[0] => shutdown
[1] => trace_functions
[2] => includes/oik-actions.php
[3] => bw_trace_functions_traced
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(7) 2019-03-29T03:18:32+00:00 0.000884 0.000018 4 Array
(
[0] => shutdown
[1] => trace_status_report
[2] => includes/oik-actions.php
[3] => bw_trace_status_report
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(8) 2019-03-29T03:18:32+00:00 0.000902 0.000018 4 Array
(
[0] => shutdown
[1] => trace_plugin_paths
[2] => includes/oik-actions.php
[3] => bw_trace_plugin_paths
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(26:32) bw_trace_add_action(9) 2019-03-29T03:18:32+00:00 0.000920 0.000018 5 Array
(
[0] => deprecated_constructor_run
[1] => trace_deprecated
[2] => includes/bwtrace-actions.php
[3] => bw_trace_deprecated_constructor_run
[4] => 2
)

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(196:32) bw_trace_add_error_handler(1) 2019-03-29T03:18:32+00:00 0.000941 0.000021 Previous error handler
wp-content/plugins/oik-bwtrace/includes/oik-actions.php(394:32) bw_trace_plugin_paths(1) 2019-03-29T03:18:32+00:00 0.075314 0.074373 plugin paths Array
(
)

wp-content/plugins/oik-bwtrace/oik-bwtrace.php(247:0) oik_bwtrace_plugins_loaded(1) 2019-03-29T03:18:32+00:00 1.151659 1.076271 1
wp-content/plugins/oik-bwtrace/oik-bwtrace.php(247:0) oik_bwtrace_plugins_loaded(2) 2019-03-29T03:18:32+00:00 1.151705 0.000046 Unable to activate oik-bwtrace admin
wp-content/plugins/oik-bwtrace/oik-bwtrace.php(247:0) oik_bwtrace_plugins_loaded(1) 2019-03-29T03:18:32+00:00 0.135115 0.059801 1
wp-content/plugins/oik-bwtrace/oik-bwtrace.php(247:0) oik_bwtrace_plugins_loaded(2) 2019-03-29T03:18:32+00:00 0.135161 0.000046 Unable to activate oik-bwtrace admin
wp-content/plugins/oik-bwtrace/includes/oik-actions.php(365:0) bw_trace_wp(1) 2019-03-29T03:18:32+00:00 1.162401 0.010696 1 WP Object
(
[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
    (
        [year] => 2012
        [monthnum] => 11
        [day] => 07
    )

[query_string] => year=2012&monthnum=11&day=07
[request] => 2012/11/07
[matched_rule] => ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$
[matched_query] => year=2012&monthnum=11&day=07
[did_permalink] => 1

)

wp-content/plugins/oik-bwtrace/includes/oik-actions.php(371:0) bw_trace_wp(2) 2019-03-29T03:18:32+00:00 1.162499 0.000098 page,5,17177 show,page,posts
wp-content/plugins/oik-bwtrace/includes/oik-actions.php(372:0) bw_trace_wp(3) 2019-03-29T03:18:32+00:00 1.162528 0.000029 home
wp-content/plugins/oik-bwtrace/includes/oik-actions.php(373:0) bw_trace_wp(4) 2019-03-29T03:18:32+00:00 1.162550 0.000022 front
wp-content/plugins/oik-bwtrace/includes/oik-actions.php(365:0) bw_trace_wp(1) 2019-03-29T03:18:32+00:00 0.146521 0.011360 1 WP Object
(
[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
    (
        [page] => 
        [name] => rapists-apologizing-or-not
    )

[query_string] => name=rapists-apologizing-or-not
[request] => rapists-apologizing-or-not
[matched_rule] => ([^/]+)(?:/([0-9]+))?/?$
[matched_query] => name=rapists-apologizing-or-not&page=
[did_permalink] => 1

)

There is nothing here that shows the error in the original post.

This is what’s going on when the errors occur, based on the times. That’s what the tracing plugin showed.

Sorry, there’s not much we’re going to be able to do with this.

Tracking down issues like this requires identifying and “replaying” the requests that are causing the message, and then identifying precisely which lines of code are active exactly when the error occurs, not just around the same time or even in the same request.

Whatever this “tracing plugin” is providing is not the info you need - note there is nothing at all about wp-includes/functions.php in the latest message you posted.

Important to be specific here, exact contents of this line is another starting point for what exactly is “getting converted from an array to a string” as the notice says.

I don’t know how to do that.

1 Like

I finally tracked down the source of the problem: The error is caused by the date archive Title Tag setting in Rank Math. I’m able to reproduce the error by going to an archive page for an individual date. I make the error stop by removing %date% in the setting.

I also downloaded Notepad++ and found out what exact line in wp-functions is called up (110):
$dateformatstring = ’ '.$dateformatstring;

Rank Math hasn’t gotten back to me yet, so I don’t know if this is a bug or an incompatibility between RM and the new CP.

4 Likes

Good find :slight_smile:

We haven’t changed any of this part of the code for ClassicPress, so it is a bug on their end. I bet you’d see the same thing on a site running WordPress 4.9, but I imagine the RM team can also do that test.

1 Like