Hello,
I believe line 250 of themekey_ui.module in 7.x-2.0,
if (module_exists('og') && !og_is_omitted_type($type)) {
needs to be updated. The function og_is_omitted_type(), which was defined in Organic Groups 6.x, seems not to be defined in Organic Groups 7.x. I noticed that the Spaces module tackled a nearly identical problem, and I think changing the aforementioned line to
if (module_exists('og') && variable_get('og_group_type_' . $type, 'omitted') != 'omitted') {
will solve the issue.
Thanks for ThemeKey!
Comments
Comment #1
mkalkbrennerGood catch.
I changed that using your suggestion and also modified the description shown to the user. Using ThemeKey Compatibility you're able to fine tune the behaviour now.
Comment #2
yahhr857 commentedPerfect!
Thank you for the patch. This worked nicely and solved the error message right away!
Comment #3
mkalkbrenner