Hi!

I'm on Drupal 7.22 & doing my 1st Zen subtheme install. Up til now I was just using the standard Bartik theme.

I follow the simple instructions to create a subtheme with drush command. It gets created but when I visit the site I get all this in my log -

May  5 19:00:57 ixyDESK DRUPAL: https://ixydesk.loc|1367805657|php|2001:xxx:xxxx:xxx::10|https://ixydesk.loc/||0||Notice: Undefined index: ixy-zen in drupal_theme_initialize() (line 100 of /home/ixy/web/drupal/includes/theme.inc).
May  5 19:00:57 ixyDESK DRUPAL: https://ixydesk.loc|1367805657|php|2001:xxx:xxxx:xxx::10|https://ixydesk.loc/||0||Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /home/ixy/web/drupal/includes/theme.inc).
May  5 19:00:57 ixyDESK DRUPAL: https://ixydesk.loc|1367805657|php|2001:xxx:xxxx:xxx::10|https://ixydesk.loc/||0||Notice: Trying to get property of non-object in _theme_load_registry() (line 335 of /home/ixy/web/drupal/includes/theme.inc).
May  5 19:00:57 ixyDESK DRUPAL: https://ixydesk.loc|1367805657|php|2001:xxx:xxxx:xxx::10|https://ixydesk.loc/||0||Notice: Undefined index: ixy-zen in theme_get_setting() (line 1419 of /home/ixy/web/drupal/includes/theme.inc).
May  5 19:00:57 ixyDESK DRUPAL: https://ixydesk.loc|1367805657|php|2001:xxx:xxxx:xxx::10|https://ixydesk.loc/||0||Notice: Trying to get property of non-object in theme_get_setting() (line 1456 of /home/ixy/web/drupal/includes/theme.inc).

Ive been digging around but have no idea what I'm doing wrong :-(

Any help somebody can give?

--ixy

Comments

ano.nimmus’s picture

Title: New zen subtheme install errors our with "Undefined index" and "Trying to get property of non-object" errors ? » New zen subtheme install errors out with "Undefined index" and "Trying to get property of non-object" errors ?
echoz’s picture

Is the name of your subtheme "ixy-zen"? It can't have a hyphen.
From the ReadMe, "IMPORTANT: The name of your sub-theme must start with an alphabetic character and can only contain lowercase letters, numbers and underscores."

Secondly, I recommend using the dev version, especially if you're just starting out.

ano.nimmus’s picture

Status: Active » Closed (fixed)

The problem simply went away by switching to the -dev version.

Thanks for the suggestion.