Rarely, some users may encounter an error like the following when opening the Settings > Hub Variables page:
An unexpected error has occurred trying to load the app. Check Logs for more information.
Error: Cannot get property 'id' on null object
This issue can be fixed by following the steps below.
When opening the Hub Variables page that throws the error, note the URL in your web browser. It should appear similar to:
xxxx will be some number unique to your hub. Note this number.
Manually change the URL to this format, substituting for
xxxx the number noted above:
status and remove
Select Remove Hub Variables (in the bottom right).
Try accessing Settings > Hub Variables again. The above steps should have resolved your problem.
Use caution when peforming the above steps if you have any hub variable connectors created. Removing the Hub Variables app will remove connectors as well.
If you have any hub variable connectors created, performing the above steps will also remove the connectors. If these connector devices are in use by any apps, use the following steps to avoid problems:
Whenever possible, we suggest using hub variables directly in apps (this is now supported by many apps, including Hubitat® Dashboard, Rule Machine, and many others). See the Hub Variables documentation for more. This will avoid the need to deal with variable connectors.
For additional assistance, we suggest visiting https://community.hubitat.com.