There might be a better solution, but these changes fixed it for me.
Line 11
class dynWid {
private $dbtable;
public $device;
public $hostname;
public $dwoptions = array();
public $dynwid_list;
public $enabled;
private $firstmessage = TRUE;
public $ip_address;
public $listmade = FALSE;
public $overrule_maintype = array();
private $registered_sidebars;
public $registered_widget_controls;
public $registered_widgets;
public $removelist = array();
public $sidebars;
public $template;
public $url;
public $plugin_url;
public $useragent;
public $userrole;
public $whereami;
private $wpdb;
public $wpml;
public $custom_taxonomy;
Line 67
/**
* dynWid::__get() Overload get
*
* @param string $name
* @return mixed
*/
public function __get($name) {
if(property_exists($this, $name)) {
return $this->$name;
} else {
return null;
}
}
Line 95
/**
* dynWid::__set() Overload set
*
* @param string $name
* @param mixed $value
*/
public function __set($name, $value) {
if(property_exists($this, $name)) {
$this->$name = $value;
} else {
}
}