Title: Undefined variable error
Last modified: September 13, 2016

---

# Undefined variable error

 *  Resolved [AQuickQuestion](https://wordpress.org/support/users/aquickquestion/)
 * (@aquickquestion)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-error-10/)
 * Hi,
 * Installed Dreamobjects on my Dreampress site and received the following error
   when I tried to validate my key and secret key.
 *     ```
       Notice: Undefined variable: error in /wp-content/plugins/dreamobjects/lib/settings.php on line 152
       Notice: Undefined variable: error in /wp-content/plugins/dreamobjects/lib/settings.php on line 187
       Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/dreamobjects/lib/settings.php:152) in /wp-includes/pluggable.php on line 1174
       ```
   
 * Any suggestions? Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [9 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-error-10/#post-8179011)
 * Looks like you put in invalid keys in a way that really broke the system… Wow.
 * Uninstall the plugin. That will delete the keys. But either you left something
   blank or you put in data that should never have been entered.
 *  Thread Starter [AQuickQuestion](https://wordpress.org/support/users/aquickquestion/)
 * (@aquickquestion)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-error-10/#post-8182851)
 * Hi Mika,
 * It’s nice to know we think alike. Before I posted the question, I deleted and
   reinstalled the plugin, deleted and re-created my DreamObjects user and bucket.
   This time I received the same error message, but upon refresh the error disappeared
   and it looks like the key and secret key were saved properly. However, this time
   I received this:
 *     ```
       Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method DHDO::cron_schedules() should not be called statically in /wp-includes/plugin.php on line 235
       Notice: Undefined variable: error in /wp-content/plugins/dreamobjects/lib/settings.php on line 294
       Notice: Undefined variable: error in /wp-content/plugins/dreamobjects/lib/settings.php on line 340
       Notice: Undefined variable: error in /wp-content/plugins/dreamobjects/lib/settings.php on line 379
       Notice: Undefined variable: error in /wp-content/plugins/dreamobjects/lib/settings.php on line 412
       Notice: Undefined variable: error in /wp-content/plugins/dreamobjects/lib/settings.php on line 444
       Warning: Cannot modify header information - headers already sent by (output started at /wp-includes/plugin.php:235) in /wp-includes/pluggable.php on line 1174
       ```
   
 * This disappeared when I logged out and logged back in, then I saw this error 
   on the admin page
 * Recent Backup Status
 *     ```
       WordPress database error: [Table 'xxx_dreamobjects_backup_log' doesn't exist]
       SELECT * FROM xxx_dreamobjects_backup_log WHERE frequency LIKE 'success';
       ```
   
 * (*I’ve removed by db prefix name and other identifiers from the code shown here.)
 * The database error remains, but it looks like the backup is working. Very confusing.
 * What do you think?
 *  Thread Starter [AQuickQuestion](https://wordpress.org/support/users/aquickquestion/)
 * (@aquickquestion)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-error-10/#post-8198480)
 * Hi!
 * It seems like the plugin is working, but I’m still seeing a couple of errors
 * 1. On the ../admin.php?page=dreamobjects-menu-backup page
 *     ```
       WordPress database error: [Table 'xx_dreamobjects_backup_log' doesn't exist]
       SELECT * FROM xx_dreamobjects_backup_log WHERE frequency LIKE 'success';
       ```
   
 * And on the blog post admin page.
 * `Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback,
   non-static method DHDO::cron_schedules() should not be called statically in xx/
   wp-includes/plugin.php on line 235`
 * I assume I’m getting some conflict with another plugin, but I’m not sure how 
   to figure it out.
    (Normally, I’d deactivate the theme and plugins to investigate,
   but on this project it took a hella long time to set up and I’m afraid I’ll lose
   my settings if I deactivate. I’ve switched my theme before and spent hours trying
   to set up my menus and widgets when I switched back.
 * Your thoughts?
 * Thanks!
 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [9 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-error-10/#post-8256942)
 * Both those errors are warnings, not errors. The first goes away once a backup
   has been run (something’s off with my check on the DB) and the second is related
   to no backup being setup yet.
 * Also there was a DHO outage around the time you had this issue and I suspect 
   it was related…

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Undefined variable error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dreamobjects_4297bf.svg)
 * [DreamObjects Backups](https://wordpress.org/plugins/dreamobjects/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dreamobjects/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dreamobjects/)
 * [Active Topics](https://wordpress.org/support/plugin/dreamobjects/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dreamobjects/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dreamobjects/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-error-10/#post-8256942)
 * Status: resolved