-
Notifications
You must be signed in to change notification settings - Fork 282
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
isChecked() on null in /usr/share/php/Icinga/Web/Form.php:1231 after update to 2.10 #4718
Comments
Hi, this occurs because you don't have a User Preference Storage Type configured. This is deprecated since v2.9.0. Please configure a database as User Preference Storage Type in the general configuration and this error is gone. |
Duplicate of #4618 |
@nilmerg I have a user preference storage type: According to the warning and the changelog you linked ini should still work in 2.10. |
Yeah, the storage type works fine. For existing configurations, which means existing files can be loaded fine. We just don't plan to fix bugs related to this anymore. Just switch to database and it's fine. There is even a migration script provided to assist you in this. Check the upgrading documentation. |
@nilmerg It is not that easy. Currently we write the roles.ini file from our configuration management to ensure that each user has the correct permissions. Can you confirm that roles.ini is not considered a 'User Preference' and is unaffected by the storage type? |
Yes, a quote from the upgrading documentation:
|
@nilmerg I have tested the ini -> db migration on one host and I don't longer encounter the error when changing themes. However I noticed that my |
No. Yes. That's still an open issue (#2209) |
hi,
Just updated icingaweb only to be suddenly pesented with an darkmode. I then went into My Account and tried changing my theme back to my old one only to be greeted by this error message:
The text was updated successfully, but these errors were encountered: