-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: Undefined array key "var" with Domain Theme submodule #43
Comments
This is another warning that may be related.
|
@sudipto68 and I were looking at these errors tonight and determined that they did not come up during some basic use of the module. To recreate these errors, I had to assign both domains the Basis theme and then use the Color Module to change the header color. This triggered these specific errors. I'm not sure I could consider these "Warnings" to block a beta release. Once again, even in these conditions, the module works as expected, other than generating these warnings. |
My testing of the domain_theme submodule yields failures and successes. Steps: On the default domain enable themes that may be used at However, efforts to configure a theme, such as changing the header color in basis, fail using the above process or alternatively: Go to a subdomain url. Go to appearance and click on settings for theme. A notice warns to use the url for the specific subdomain
AND the screen shows a list of themes and the submit button at the bottom says: So I am not able to replicate your findings as described. I have only enabled the |
@sudipto68 @stpaultim - I have reproduced these warnings and can confirm that the patch gets rid of the warnings and the code looks mostly ok from my perspective, though a couple of coding standard changes needed - see PR. I noticed while testing this, that it does not appear to be possible to have different Basis configurations on different domains. How common that need is I really don't know; I would be comfortable in that being known limitation if need be. In most of my testing so far I've used completely different themes for each domain so is not an issue for me |
@yorkshire-pudding I agree, that we can live with the limitation that Domain can not use different configuration for Basis on different domains. |
@sudipto68 - Here is some coding feedback I got today. I don't think this is urgent, but another way of accomplishing the same thing. Instead of: Maybe this: Let's revisit this later. |
Warning: Undefined array key "var" in domain_theme_settings_submit() (line 305 of /var/www/html/modules/domain/domain_theme/domain_theme.admin.inc).
Getting this error when trying to assign a theme to a specific domain with the domain_theme sub-module enabled. The modules works, but generates this warning.
The text was updated successfully, but these errors were encountered: