WPMU DEV Dashboard problems in different setups

1) installed Dashboard in my client's site, it did accept my API key but all the styling was wrong (did not load the stylesheet). Deactivated several plugins, after deactivating social by Crowd Favorite and social media tabs by Lee Chestnutt the styling was fixed, activated the plugins again and could not recreate the error, now is working correctly.

2) Installed on my developing server, windows+xampp with WP_DEBUG=true. The API key is not accepted, the key was accepted with the previous version, it is important to me to activate in my developing server.

Since i have turned on WP_DEBUG in my developing server the following notices and warnings where reported, additionally you will find how i fixed temporarily the errors.

Hope this helps to improve your new plugin, i am impressed by it. Kudos with the redesign i really like it, finally as a suggestion add someway to attach files to this posts.

Cheers

Notice: Undefined index: projects in D:\websites\xxxx.dev\wp-content\plugins\wpmudev-updates\update-notifications.php on line 1076

Fix: if ( array_key_exists('projects', $data) && is_array( $data['projects'] ) ) {

Notice: Undefined index: latest_plugins in D:\websites\xxxxxx.dev\wp-content\plugins\wpmudev-updates\includes\templates\dashboard.php on line 226

fix: $list = array_key_exists('latest_plugins', $data) ? $data['latest_plugins'] : null;

Notice: Undefined index: projects in D:\websites\xxxxxxxx.dev\wp-content\plugins\wpmudev-updates\includes\templates\dashboard.php on line 227

fix: $projects = array_key_exists('projects', $data) ? $data['projects'] : null;

Notice: Undefined index: latest_themes in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\dashboard.php on line 278

fix: $list = array_key_exists('latest_themes', $data) ? $data['latest_themes'] : null;

Notice: Undefined index: projects in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\dashboard.php on line 279

fix: $projects = array_key_exists('projects', $data) ? $data['projects'] : null;

Notice: Undefined index: membership in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\updates.php on line 19

fix:
$themembership = array_key_exists('membership', $data) ? $data['membership'] : '';
$thedownloads = array_key_exists('downloads', $data) ? $data['downloads'] : '';
if ( $this->get_apikey() && $this->allowed_user() && ( $themembership == 'full' || is_numeric($themembership)) && $thedownloads != 'enabled' ) {

Notice: Undefined index: plugin in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\updates.php on line 126

fix:
$theplugin = array_key_exists('plugin', $projects) ? $projects['plugin'] : '';
if (is_array($theplugins) && count($theplugin) > 0) {

Notice: Undefined index: theme in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\updates.php on line 196

Fix:
$thetheme = array_key_exists('theme', $projects) ? $projects['theme'] : '';
if (is_array($thetheme) && count($thetheme) > 0) {

Notice: Undefined index: membership in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\settings.php on line 23

Fix:
$themembership = array_key_exists('membership', $data) ? $data['membership'] : '';
$thedownloads = array_key_exists('downloads', $data) ? $data['downloads'] : '';
if ( $this->get_apikey() && ($themembership == 'full' || is_numeric($themembership)) && $thedownloads != 'enabled' ) {

Notice: Undefined index: membership in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\settings.php on line 88

fix:
$themembership = array_key_exists('membership', $data) ? $data['membership'] : '';
if ( ($themembership != 'full' && !is_numeric($themembership)) || !$this->allowed_user())

Notice: Undefined index: membership in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\settings.php on line 101

fix:
$themembership = array_key_exists('membership', $data) ? $data['membership'] : '';
if ( $themembership != 'full' || !$this->allowed_user() )

Notice: Undefined index: membership in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\settings.php on line 117

fix:
$themembership = array_key_exists('membership', $data) ? $data['membership'] : '';
if ( $themembership != 'full' || !$this->allowed_user() )

Notice: Undefined index: membership in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\support.php on line 33

fix:
<?php
$themembership = array_key_exists('membership', $data) ? $data['membership'] : '';
$thedownloads = array_key_exists('downloads', $data) ? $data['downloads'] : '';
if ( $this->get_apikey() && ($themembership == 'full' || is_numeric($themembership)) && isset($thedownloads) && $thedownloads != 'enabled' ) { ?>

Notice: Undefined index: projects in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\update-notifications.php on line 1093

fix:
$theprojects = array_key_exists('projects', $data) ? $data['projects'] : '';
if ( is_array( $theprojects ) ) {
foreach ($theprojects as $id => $project) {

Notice: Undefined index: theme_tags in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\update-notifications.php on line 1110

fix:
if ($type == 'plugin')
return array_key_exists('plugin_tags', $data) ? $data['plugin_tags'] : '';
else if ($type == 'theme')
return array_key_exists('theme_tags', $data) ? $data['theme_tags'] : '';

Warning: Invalid argument supplied for foreach() in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\listings.php on line 23

fix:
<?php if ( is_array($tags) ) {
foreach ($tags as $key => $tag) { ?>
<option value="<?php echo $key; ?>"><?php echo $tag['name']; ?> (<?php echo number_format_i18n($tag['count']); ?>:wink:</option>
<?php }} ?>

Notice: Undefined index: membership in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\listings.php on line 45

fix:
<?php
$themembership = array_key_exists('membership', $data) ? $data['membership'] : '';
$thedownloads = array_key_exists('downloads', $data) ? $data['downloads'] : '';
if ( $this->get_apikey() && ($themembership == 'full' || is_numeric($themembership)) && $thedownloads != 'enabled' ) {

Notice: Undefined index: profile in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\dashboard.php on line 82

Notice: Undefined index: profile in D:\websites\atene.com.dev\wp-content\plugins\wpmudev-updates\includes\templates\dashboard.php on line 77

fix:
<?php
$theprofile = array_key_exists('profile', $profile) ?
$profile['profile'] :
array(
'gravatar' => '',
'title' => '',
'name' => '',
'member_since' => null,
);
$thereputation = array_key_exists('reputation', $profile) ?
$profile['reputation'] :
array(
'overall' => 0,
'unique_users' => 0,
);
?>

change all $profile['profile][] to $theprofile[]

change all $profile['reputation][] to $thereputation[]