Community

Error Undefined index: highlighted in include() at ... modules/system/page.tpl.php

I am suddenly seeing this error and having other theme issues on different themes created with Artisteer. I know how to work with the tpl.php files and the css, etc. I just tried Artisteer to speed things up and then I would tweak the settings myself.
Another site where I see this error, is also not getting any of my themes styling. Strangely, I don't remember changing anything for that site to suddenly start having problems with the themes. Other than upgrading to Drupal 7.20 from 7.19. However, the error didn't show up right after that.

I don't know if this relates to another error I am seeing... so this could be off topic (unless someone things otherwise). I am getting memory errors, when performing certain operations, including doing updates. My web hosting provider said that maybe I need something more than shared hosting. Of course, for that one particular site, all was working well with it. The hosting provider set the php memory at 64M. Again, I don't know how that would relate to a site not presenting the theme I created, suddenly and seemingly without any changes being done.
Thanks in advance for any tips,
Bruce

Comments

-

Well... That error pretty much means that it's using the default page.tpl.php with a non-default theme.info, i.e. one without the 'highlighted' region declared. On a hunch, I successfully produced the same or similar symptoms (minus php memory limit trouble) with the following test:

  1. In an existing, working test site with a custom theme (activated and default), create a new subfolder of sites/all/themes, with a name such as 'abc' that comes alphabetically before your custom theme
  2. Copy the .info file from your custom theme into the abc directory
  3. Clear cache, and presto, broken theme

Maybe Artisteer did something like this to you?