Support » Plugin: Uptime Robot Plugin for WordPress » Re-install causes MySQL errors

  • Resolved Optimalisatie.nl

    (@optimalisatie)


    Hi!

    First of all, thanks for a great free plugin!

    I want to report 2 bugs.

    Reinstall fails

    When installing, activating, configuring an API key and then deactivating, removing and reinstalling and reactivating the plugin, the full WordPress admin (all pages) show several errors.

    WordPress performance issues

    It would be best to limit the plugin to the pages it belongs to by enabling it only when for example the query string contains page=urpro-.... It will prevent major problems and performance issues in WordPress.

    The errors are the following:

    WordPress database error: [Table 'xxx.wp_urpro' doesn't exist]
    SELECT * FROM wp_urpro WHERE ur_key = 'multisite'
    
    Notice: Undefined offset: 0 in /home/laptop/xxx/wp-content/plugins/uptime-robot-monitor/functions.php on line 70
    
    Notice: Trying to get property of non-object in /home/laptop/xxx/wp-content/plugins/uptime-robot-monitor/functions.php on line 70
    WordPress database error: [Table 'xxx.wp_urpro' doesn't exist]
    SELECT * FROM wp_urpro WHERE ur_key = 'apikey' AND siteid = '1' ORDER BY id DESC LIMIT 1
    
    WordPress database error: [Table 'xxx.wp_urpro' doesn't exist]
    SELECT * FROM wp_urpro WHERE ur_key = 'apikey' AND siteid = '1' ORDER BY id DESC LIMIT 1
    
    WordPress database error: [Table 'xxx.wp_urpro' doesn't exist]
    SELECT * FROM wp_urpro WHERE ur_key = 'errormessage'

    [ Signature moderated ]

    • This topic was modified 2 years, 6 months ago by  Jan Dembowski.
Viewing 1 replies (of 1 total)
  • Plugin Author Aphotrax

    (@vlijmen)

    Hi Jan Jaap,

    The second point is a good advice and I will take this into count for the next update.

    For the first issue, could you give me some more information about the errors that you recieve? I tested it myself and didn’t get any errors in the debug log. I assume you are using the latest version ?

    Regards,
    Niels

Viewing 1 replies (of 1 total)
  • The topic ‘Re-install causes MySQL errors’ is closed to new replies.