Warning And Fatal Error
-
Hello,
I am getting a warning and fatal error when using this with Genesis.
The Warning
file_get_contents(https://api.uptimerobot.com/getMonitors?apiKey=REMOVED&customUptimeRatio=1-7-30-365&format=xml&monitors=sidebar): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/wrecked23/public_html/wp-content/plugins/uptime-robot-monitor/ur-status.php on line 33
Note: This warning includes the main key so if somebody else runs into this on a live site it would kinda suck since it is the master for their account.
Fatal Error
Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/wrecked23/public_html/wp-content/plugins/uptime-robot-monitor/ur-status.php:34 Stack trace: #0 /home/wrecked23/public_html/wp-content/plugins/uptime-robot-monitor/ur-status.php(34): SimpleXMLElement->__construct('') #1 [internal function]: uptime_robot_nh_widget(Array) #2 /home/wrecked23/public_html/wp-includes/widgets.php(1319): call_user_func_array('uptime_robot_nh...', Array) #3 /home/wrecked23/public_html/wp-content/themes/genesis/lib/structure/sidebar.php(26): dynamic_sidebar('sidebar') #4 [internal function]: genesis_do_sidebar('') #5 /home/wrecked23/public_html/wp-includes/plugin.php(503): call_user_func_array('genesis_do_side...', Array) #6 /home/wrecked23/public_html/wp-content/themes/genesis/sidebar.php(22): do_action('genesis_sidebar') #7 /home/wrecked23/public_html/wp-includes/template.php(555): require_once('/home/wrecked23...') #8 /home/wrecked23/public_html/wp-includes/template.php(514): load_template('/hom in /home/wrecked23/public_html/wp-content/plugins/uptime-robot-monitor/ur-status.php on line 34
I do have root to the server so if a config change to php or something is needed I can do that.
This is only for widgets, shortcodes seem to work fine.
- The topic ‘Warning And Fatal Error’ is closed to new replies.