Seath
Forum Replies Created
-
Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] PHP errorOk tthanks
@rogierlankhorst The hits are being registered, I can see then in the windows next to the graph. They are just not showing up in the graph itself.
It is weird because I have the same problem on my test site where are no hits at all.
I tried bunch of selections including custom ones.
I did emailed you my site “Support ticket 16410485”
@rogierlankhorst Here it is…
Jan 25, 12:58:46 Array ( [0] => stdClass Object ( [hit_count] => 3 [period] => 2023-01-24 ) [1] => stdClass Object ( [hit_count] => 10 [period] => 2023-01-25 ) ) Mark as fixed | Ignore Jan 25, 12:58:46 regenerated data: Jan 25, 12:58:46 cached insights results [25-Jan-2023 18:58:46 UTC] Jan 25, 12:58:46 SELECT COUNT(DISTINCT(uid)) as hit_count, DATE_FORMAT(CONVERT_TZ(FROM_UNIXTIME(time), '+00:00', '-06:00'), '%Y-%m-%d') as period FROM (SELECT * FROM burst_statistics WHERE session_id NOT IN (select session_id from burst_statistics WHERE time > 1674626400 AND time < 1674712799 GROUP BY session_id having count(*) = 1 and sum(time_on_page) < 5000) and time > 1674626400 AND time < 1674712799) as stats GROUP BY period order by period Jan 25, 12:58:46 select SQL Jan 25, 12:58:46 Array ( [metric] => visitors [date_start] => 1674626400 [date_end] => 1674712799 [interval] => day [date_range] => custom ) Jan 25, 12:58:46 get insights data args Jan 25, 12:58:46 Array ( [date_start] => 1674626400 [date_end] => 1674712799 [date_range] => custom [metrics] => Array ( [0] => visitors ) [interval] => day ) Jan 25, 12:58:46 insights args Jan 25, 12:58:43 Array ( [0] => stdClass Object ( [hit_count] => 3 [period] => 2023-01-24 ) [1] => stdClass Object ( [hit_count] => 10 [period] => 2023-01-25 ) ) Jan 25, 12:58:43 regenerated data: Jan 25, 12:58:43 cached insights results [25-Jan-2023 18:58:43 UTC] Jan 25, 12:58:43 SELECT COUNT(DISTINCT(uid)) as hit_count, DATE_FORMAT(CONVERT_TZ(FROM_UNIXTIME(time), '+00:00', '-06:00'), '%Y-%m-%d') as period FROM (SELECT * FROM burst_statistics WHERE session_id NOT IN (select session_id from burst_statistics WHERE time > 1674626400 AND time < 1674712799 GROUP BY session_id having count(*) = 1 and sum(time_on_page) < 5000) and time > 1674626400 AND time < 1674712799) as stats GROUP BY period order by period Jan 25, 12:58:43 select SQL Jan 25, 12:58:43 Array ( [metric] => visitors [date_start] => 1674626400 [date_end] => 1674712799 [interval] => day [date_range] => custom ) Jan 25, 12:58:43 get insights data args Jan 25, 12:58:43 Array ( [date_start] => 1674626400 [date_end] => 1674712799 [date_range] => custom [metrics] => Array ( [0] => visitors ) [interval] => day ) Jan 25, 12:58:43 insights args Jan 25, 12:58:41 Array ( [0] => stdClass Object ( [hit_count] => 3 [period] => 2023-01-24 ) [1] => stdClass Object ( [hit_count] => 10 [period] => 2023-01-25 ) ) Jan 25, 12:58:41 regenerated data:@rogierlankhorst It is all ranges including custom range.
@rogierlankhorst The graph is still on 0 line and back to this….
Jan 25, 07:39:54 Array ( [date_start] => 1674626400 [date_end] => 1674712799 [date_range] => custom [metrics] => Array ( [0] => visitors ) [interval] => day ) Jan 25, 07:39:54 insights args ) [parsed_body:protected] => [parsed_json:protected] => 1 ) ) ( [permission_callback] => Closure Object [callback] => burst_get_data ) ( [args] => Array [show_in_index] => 1 [accept_raw] => [accept_json] => ) [GET] => 1 ( [methods] => Array@rogierlankhorst Ok this is what I am getting now….
Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in /wp-content/plugins/burst-cast-timestamp-to-int/statistics/class-statistics.php:110 Stack Trace 1. burst_statistics->sanitize_metric(Array) /wp-content/plugins/burst-cast-timestamp-to-int/settings/settings.php:369 2. burst_get_data(Object(WP_REST_Request)) /wp-includes/rest-api/class-wp-rest-server.php:1171 3. WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/burst/v1/data/...', Array, NULL) /wp-includes/rest-api/class-wp-rest-server.php:1018 4. WP_REST_Server->dispatch(Object(WP_REST_Request)) /wp-includes/rest-api/class-wp-rest-server.php:442 5. WP_REST_Server->serve_request('/burst/v1/data/...') /wp-includes/rest-api.php:410 6. rest_api_loaded(Object(WP)) /wp-includes/class-wp-hook.php:308 7. WP_Hook->apply_filters('', Array) /wp-includes/class-wp-hook.php:332 8. WP_Hook->do_action(Array) /wp-includes/plugin.php:565 9. do_action_ref_array('parse_request', Array) /wp-includes/class-wp.php:399 10. WP->parse_request('') /wp-includes/class-wp.php:780 11. WP->main('') /wp-includes/functions.php:1332 12. wp() /wp-blog-header.php:16 13. require('/home/niowaholt...') /index.php:17 14. {main} thrown in /wp-content/plugins/burst-cast-timestamp-to-int/statistics/class-statistics.php on line 110The stats are all gone no information at all.
@rogierlankhorst I am sorry to do that to you, but the graph is still on 0 and now I am getting all this stuff in my error file….
Jan 25, 06:21:14 Array ( [date_start] => 1674626400 [date_end] => 1674712799 [date_range] => custom [metrics] => Array ( ) [interval] => day ) Jan 25, 06:21:14 insights args ) [parsed_body:protected] => [parsed_json:protected] => 1 ) ) ( [permission_callback] => Closure Object [callback] => burst_get_data ) ( [args] => Array [show_in_index] => 1 [accept_raw] => [accept_json] => ) [GET] => 1 ( Mark as fixed | Ignore [methods] => Array@rogierlankhorst I’m guessing the branch wasn’t updated, because the problem is still there.
@rogierlankhorst The graph is showing up but its all the way cross on 0 line. And I still getting a Warning.
Warning: Trying to access array offset on value of type null in /wp-content/plugins/burst-cast-timestamp-to-int/settings/settings.php on line 375@rogierlankhorst I am using F j, Y date, and g:i A time format.
The error changed after the last branch…
Fatal error: Uncaught Error: Undefined constant "_IN_SECONDS" in /wp-content/plugins/burst-cast-timestamp-to-int/statistics/class-statistics.php:760 Stack Trace 1. constant('_IN_SECONDS') /wp-content/plugins/burst-cast-timestamp-to-int/statistics/class-statistics.php:760 2. burst_statistics->get_nr_of_periods('', 1674540000, 1674626399) /wp-content/plugins/burst-cast-timestamp-to-int/statistics/class-statistics.php:296 3. burst_statistics->get_insights_data(Array) /wp-content/plugins/burst-cast-timestamp-to-int/settings/settings.php:375 4. burst_get_data(Object(WP_REST_Request)) /wp-includes/rest-api/class-wp-rest-server.php:1171 5. WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/burst/v1/data/...', Array, NULL) /wp-includes/rest-api/class-wp-rest-server.php:1018 6. WP_REST_Server->dispatch(Object(WP_REST_Request)) /wp-includes/rest-api/class-wp-rest-server.php:442 7. WP_REST_Server->serve_request('/burst/v1/data/...') /wp-includes/rest-api.php:410 8. rest_api_loaded(Object(WP)) /wp-includes/class-wp-hook.php:308 9. WP_Hook->apply_filters('', Array) /wp-includes/class-wp-hook.php:332 10. WP_Hook->do_action(Array) /wp-includes/plugin.php:565 11. do_action_ref_array('parse_request', Array) /wp-includes/class-wp.php:399 12. WP->parse_request('') /wp-includes/class-wp.php:780 13. WP->main('') /wp-includes/functions.php:1332 14. wp() /wp-blog-header.php:16 15. require('/home/nownow/pu...') /index.php:17 16. {main} thrown in /wp-content/plugins/burst-cast-timestamp-to-int/statistics/class-statistics.php on line 760And there are two warnings now….
Warning: Trying to access array offset on value of type null in /wp-content/plugins/burst-cast-timestamp-to-int/settings/settings.php on line 374 and Warning: Undefined variable $data in /wp-content/plugins/burst-cast-timestamp-to-int/statistics/class-statistics.php on line 575Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] PHP error@pmbaldha I do have the newest version. Still getting error when visiting Comment Spam IP Monitoring.
Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] PHP errorStill getting
Warning: Undefined array key "status" in /wp-content/plugins/all-in-one-wp-security-and-firewall/admin/wp-security-list-comment-spammer-ip.php on line 21
when visiting Spam Prevention and click on the tab Comment Spam IP Monitoring.Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] PHP error@pmbaldha I am little confused.
I did what you asked me to do in your last post.
As I mention in my previous post the error …
[03-Sep-2022 02:55:48 UTC] AIOS firewall error: unable to locate workspace.Is fixed.
The developer version I have download, created new PHP Warning ….
Warning: Undefined array key "status" in /wp-content/plugins/all-in-one-wp-security-and-firewall/admin/wp-security-list-comment-spammer-ip.php on line 21I see that the file
aios-bootstrap.php
already has the change to
$GLOBALS['aiowps_firewall_rules_path'] = __DIR__.'/wp-content/uploads/aios/firewall-rules/';
so I didn’t had to change that.The warning I am getting now is still there. it happens when I visit Spam Prevention and click on the tab Comment Spam IP Monitoring.
Thank you.
Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] PHP error@pmbaldha I did as you asked. The error is gone now. Thank you!
But, the developer version created new warning.
Warning: Undefined array key "status" in /wp-content/plugins/all-in-one-wp-security-and-firewall/admin/wp-security-list-comment-spammer-ip.php on line 21it happens when I visit …. admin.php?page=aiowpsec_spam&tab=tab2 … in the admin area.