Undefined index: icon in include() in page.tpl.php

BPSColruyt's picture
BPSColruyt
Tue, 10/18/2016 - 04:59
#1
Undefined index: icon in include() in page.tpl.php

Hello guys,

After a day of working with this theme, we are noticing several warnings during development :

Notice: Undefined index: icon in include() (line 231 of /var/opt/vagrant/data/youngleadpr/httpdoc/public/sites/all/themes/md_hero/template/pages/page.tpl.php).

When enabling a subtheme on Hero, we see these additional similar warnings : 

  1. Notice: Undefined index: icon in md_hero_theme_settings_design() (line 136 of /var/opt/vagrant/data/youngleadpr/httpdoc/public/sites/all/themes/md_hero/inc/admin/theme-settings-design.inc).

  2. Notice: Undefined index: icon in md_hero_theme_settings_display() (line 100 of /var/opt/vagrant/data/youngleadpr/httpdoc/public/sites/all/themes/md_hero/inc/admin/theme-settings-display.inc).

Any idea where they are coming from and if they can be solved ?

Thanks!

phuonght's picture
phuonght
Tue, 10/18/2016 - 05:09

Hi,

You can please go to admin/appearance/settings/md_hero, update icons in "social Icons" and "Contact info".

BPSColruyt's picture
BPSColruyt
Wed, 10/19/2016 - 02:54

Okay thanks,

We have chosen to remove social icons from page.tpl.php instead, because we don't need them.

BPSColruyt's picture
BPSColruyt
Fri, 10/28/2016 - 08:40

See http://megadrupal.com/comment/14061#comment-14061 for status update.
Please check this.

Thanks

khoa's picture
khoa
Sun, 10/30/2016 - 10:33

Hi,

I have fixed this problem. Please check it again.

Thanks!

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.