Conversation
supportI get the following errors in the dashboard widget when running PHP 7.1.2 Warning: Illegal string offset 'monitors' in /path/plugins/uptime-robot-monitor/functions.php on line 175 Warning: Illegal string offset 'monitors' in /path/plugins/uptime-robot-monitor/functions.php on line 175 Warning: Illegal string offset 'monitors' in /path/plugins/uptime-robot-monitor/functions.php on line 175 Warning: Illegal string offset 'monitors' in /path/plugins/uptime-robot-monitor/functions.php on line 175 Warning: end() expects parameter 1 to be array, string given in /path/plugins/uptime-robot-monitor/admin-dashboard.php on line 37 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (@) at position 0 (@): Unexpected character in /path/plugins/uptime-robot-monitor/functions.php:455 Stack trace: #0 /path/plugins/uptime-robot-monitor/functions.php(455): DateTime->__construct('@') #1 /path/plugins/uptime-robot-monitor/admin-dashboard.php(38): urpro_sectotime(NULL, 'short') #2 /path/wp-admin/includes/template.php(1048): urpro_admin_dashboard('', Array) #3 /path/wp-admin/includes/dashboard.php(218): do_meta_boxes(Object(WP_Screen), 'normal', '') #4 /path/wp-admin/index.php(135): wp_dashboard() #5 {main} thrown in /path/plugins/uptime-robot-monitor/functions.php on line 455 Additionally, when saving the settings I get a headers already sent error
Dear Cameron, My apologies for the really late reply to your issue. I think the error you are seeing is not related to PHP7 but to curl requests that where made. Today I updated the plugin with quite some fixes and improvements including this one. If you are still interested please give it a nother try and let me know if it’s working now. With kind regards, Niels
Got the same error. I installed the plugin just some days ago. It ran fine but today I got the error message. The only way to get back onto my dashboard was to move the plugin folder on the server. Any hints ?
Dear Cameron, My apologies for the really late reply to your issue. I think the error you are seeing is not related to PHP7 but to curl requests that where made. Today I updated the plugin with quite some fixes and improvements including this one. If you are still interested please give it a nother try and let me know if it’s working now. With kind regards, Niels
Got the same error. I installed the plugin just some days ago. It ran fine but today I got the error message. The only way to get back onto my dashboard was to move the plugin folder on the server. Any hints ?