Just after enable on Drupal 7 this theme, I have:

Notice: Undefined property: stdClass::$content in include() (line 11 of /***/sites/all/themes/Andreas1024px/block.tpl.php).
Notice: Undefined property: stdClass::$content in include() (line 11 of /***/sites/all/themes/Andreas1024px/block.tpl.php).
Notice: Undefined index: highlight in include() (line 35 of /***/sites/all/themes/Andreas1024px/page.tpl.php).
Notice: Undefined property: stdClass::$content in include() (line 11 of /***/sites/all/themes/Andreas1024px/block.tpl.php).
Notice: Undefined property: stdClass::$content in include() (line 11 of /***/sites/all/themes/Andreas1024px/block.tpl.php).

Comments

landike’s picture

Just after going back from home page to
..... #overlay=admin/appearance

nickbits’s picture

Assigned: Unassigned » nickbits

Thanks for that. Will be looking at this over the weekend. Guess that is something that ahs changed from D7 going from Beta to RC.

nickbits’s picture

Status: Active » Postponed (maintainer needs more info)

Hi,

I have fixed a few inor bits, one of your errors:

Notice: Undefined index: highlight in include() (line 35 of /***/sites/all/themes/Andreas1024px/page.tpl.php).

no longer appears. I was unable to replicate the other error, I have update the code in block.tpl.php anyway, but as I could not replicate your error, I do not know if this has fixed your issue or not. Can you please test and see if it ahs fixed it? If not, can you let me know which release of Drupal 7 you are running (i.e. Release 7.0, Development dated 12/12/10?)

Regards,
Nick

Ps New code will appear as a new release - Andreas1024px 7.x-2.0-beta1

nickbits’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No feedback after 1 week, assuming problem resolved.

gaking44’s picture

I get this same error and now can't login into my admin to change the theme. Is there a way I can change the theme back to bartnik without using the admin (since I can't get to it)? or can I copy over a particular file that will reset the default admin theme?

nickbits’s picture

Can you confirm you have downloaded the latest beta? You should still be able to get to admin by just changing your address to mysite.com/admin.

Other than that, there are over 11 reported users of this theme and no one else has reported the issue and without more information, I am unable to replicate.

No one else has reported this error, not being able to login. That is a different issue to the original one in this queue. Hence can you open a new issue with as many details as pos. What drual are you using (7. Release, 7 Dev.), which theme version are you using, etc)

gaking44’s picture

I installed the latest recommended version of Drupal 7.0. I opened a new issue. I have tried opening cemeteryvasesonline/admin and it only gives me the error mentioned in previous message. The Garland theme I am using is the latest version.

nickbits’s picture

Okay, can you point me to the new issue as there is not one that I can find on any of my themes? Also not sure what you are talking about with Garland. Are you using my theme or Garland?

gaking44’s picture

The error message was the same except for the theme name. I just figured that it was the same issue since it was causing the same error. I am about ready to forget using Drupal and go back to what I am familiar with (Zen-Cart). It seems no matter where I try and put an issue, it is always in the wrong spot. I spend more time trying to find the right place to ask a question than I do solving the problem.

nickbits’s picture

It may well be the same problem, but since all the modules and themes are maintained by different people, issues need to go in the correct place. If you cannot find the module or theme, the best place is to stick a post on the forum ( http://drupal.org/forum ).

I did see one of your other issue posts - http://drupal.org/node/1048310 - in which you say the problem is with the Garland theme yet post the issue to the Admin Module. The garland theme is part of dupal core, so suggest you raise your issue in the queue there - http://drupal.org/project/drupal

Having said that, the Garland theme works fine on my system and if it is core, unlikely it would have been released with bugs. I ahve seen the issue in some alpha & beta versions. I would suggest, if this is only a test site starting again with a fresh database and code, and with the D7 recommended release (not the development version) at, http://drupal.org/project/drupal. If you still get issues with the basic set-up either post to http://drupal.org/project/drupal or http://drupal.org/forum

gaking44’s picture

I received a fix from another location. I just had to overwrite the garland/block.tpl.php file with the one from the modules/block/ folder. That fixed it.

nkirlew’s picture

The post number 11 has allowed me to access the menus on my Drupal 7 site after an upgrade from 6.2 to 7. I stll have the error but at least I can work onwards.

frank ralf’s picture

Have a look at #997716: Upgrading D6 to D7: leftover D6 Garland block.tpl.php breaks site completely which seems to be a similar (if not the same) issue.

hth