(D7 dev release hasn't rolled yet but initial version is committed)

Removing the sidebars in the mobile theme for D7 causes a pile of notices when editing the theme settings of fusion_mobile.

Notice: Undefined index: sidebar_layout in fusion_core_form_system_theme_settings_alter() (line 95 of /home/clients/websites/w_fusmob/public_html/fusmob/sites/all/themes/fusion/fusion_core/theme-settings.php).
Notice: Undefined index: in fusion_core_form_system_theme_settings_alter() (line 95 of /home/clients/websites/w_fusmob/public_html/fusmob/sites/all/themes/fusion/fusion_core/theme-settings.php).
Notice: Undefined index: sidebar_first_width in fusion_core_form_system_theme_settings_alter() (line 111 of /home/clients/websites/w_fusmob/public_html/fusmob/sites/all/themes/fusion/fusion_core/theme-settings.php).
Notice: Undefined index: in fusion_core_form_system_theme_settings_alter() (line 111 of /home/clients/websites/w_fusmob/public_html/fusmob/sites/all/themes/fusion/fusion_core/theme-settings.php).
Notice: Undefined index: sidebar_second_width in fusion_core_form_system_theme_settings_alter() (line 119 of /home/clients/websites/w_fusmob/public_html/fusmob/sites/all/themes/fusion/fusion_core/theme-settings.php).
Notice: Undefined index: in fusion_core_form_system_theme_settings_alter() (line 119 of /home/clients/websites/w_fusmob/public_html/fusmob/sites/all/themes/fusion/fusion_core/theme-settings.php).

Not surprising, but I'm not sure of the best way to fix this. I tried removing the .info file section with the layout, but same deal.

Comments

scottrouse’s picture

Version: 6.x-1.0-beta1 » 7.x-1.x-dev
rickmanelius’s picture

Same problem.

dddave’s picture

sub

aquariumtap’s picture

Status: Active » Closed (duplicate)

This is a change that needs to be made in core. An issue has been opened up at the Fusion Core project #1228466: Make sidebar_first and sidebar_second optional regions.