Hi there

Tried Ginkgo 7.x-1.x-dev with Open Atrium 7.x-2.0-beta1+0-dev

Get the following notice many times over:
Notice: Trying to get property of non-object in drupal_alter() (line 1042 of oa\includes\module.inc).

Other themes, like Professional Theme 7.x-1.8 seem to work fine, with no errors.

Am disabling Ginko as am novice user and do not yet know how to fix this.

Thought I would let you know anyway.

Comments

dsnopek’s picture

Thanks for the bug report! I'll take a look at this when I have a chance.

Personally, I'd recommend turning off the display of PHP errors (except on your development or stagging site). You can do this under Configuration -> Development -> Logging and Errors. Select "None" under "Error messages to display".

hazit’s picture

Thanks for the tip :-)

Will keep it on while I am building the thing locally and turn them off when I send it up to the host.

Cheers and thanks. H

drupert55’s picture

I just installed this theme on OA 2.09. Here are a few of my error messages:

~~~~~~~~~~~~~~~~~~~~~
Notice: Undefined variable: primary_local_tasks in include() (line 25 of /home/supptmgn/public_html/teamv/sites/all/themes/ginkgo/page.header.inc).
Notice: Undefined variable: secondary_local_tasks in include() (line 35 of /home/supptmgn/public_html/teamv/sites/all/themes/ginkgo/page.header.inc).
Notice: Trying to get property of non-object in drupal_alter() (line 1042 of /home/supptmgn/public_html/teamv/includes/module.inc).
...
Notice: Undefined variable: classes in include() (line 22 of /home/supptmgn/public_html/teamv/profiles/openatrium/modules/contrib/navbar/navbar.tpl.php).
Notice: Undefined variable: attributes in include() (line 22 of /home/supptmgn/public_html/teamv/profiles/openatrium/modules/contrib/navbar/navbar.tpl.php).
...
Notice: Undefined index: rubik in drupal_theme_initialize() (line 98 of /home/supptmgn/public_html/teamv/includes/theme.inc).
...
Notice: Trying to get property of non-object in phptemplate_init() (line 12 of /home/supptmgn/public_html/teamv/themes/engines/phptemplate/phptemplate.engine).
...
Notice: Trying to get property of non-object in phptemplate_init() (line 12 of /home/supptmgn/public_html/teamv/themes/engines/phptemplate/phptemplate.engine).
...
Notice: Trying to get property of non-object in _theme_build_registry() (line 700 of /home/supptmgn/public_html/teamv/includes/theme.inc).
Notice: Trying to get property of non-object in _theme_build_registry() (line 702 of /home/supptmgn/public_html/teamv/includes/theme.inc).
Notice: Trying to get property of non-object in _theme_build_registry() (line 704 of /home/supptmgn/public_html/teamv/includes/theme.inc).
Notice: Trying to get property of non-object in _theme_build_registry() (line 704 of /home/supptmgn/public_html/teamv/includes/theme.inc).
~~~~~~~~~~~~~~~~~~~~~

I would feel comfortable using this theme if it weren't for so many error messages. I prefer not to hide error messages as I want to know where else there could be issues in other parts of the entire distribution.

Thanks.

Carolee’s picture

I am having the exact same issue after upgrading from Drupal core 7.19 to 7.24 and installing a new theme.

drupert55’s picture

I guess this theme will not be fixed. That's unfortunate. I so wanted to use it. :(

dsnopek’s picture

Patches are welcome! :-) Personally, I don't have time to look into this right now, but I may in mid-January. If someone else gets to it first, I'll happily review and commit the patch.