Hi Guys,
Users on iPads are getting the following error appear on my website:
Notice: Undefined index: active in /problem-with-post-edit-buttonome/WEBSITE/public_html/wp-content/plugins/simple-press/sp-startup/site/sp-site-support-functions.php on line 484
The function that is throwing the error is:
function sp_get_current_sp_theme() {
global $spDevice;
if ($spDevice == 'mobile') {
$theme = sp_get_option('sp_mobile_theme');
if (!empty($theme) && $theme['active']) return $theme;
}
if ($spDevice == 'tablet') {
$theme = sp_get_option('sp_tablet_theme');
if (!empty($theme) && $theme['active']) return $theme;
}
return sp_get_option('sp_current_theme');
}
The actual line is two lines under the tablet if statement:
if (!empty($theme) && $theme['active']) return $theme;
My tablet theme support is empty so I don’t know why it’s going wrong see: http://i.imgur.com/C8Fb7hm.png
Thanks