Skip to content

v3.4.8 - #264

Merged
TiTidom-RC merged 2 commits into
masterfrom
beta
Sep 7, 2026
Merged

v3.4.8#264
TiTidom-RC merged 2 commits into
masterfrom
beta

Conversation

@TiTidom-RC

Copy link
Copy Markdown
Owner

This pull request focuses on improving the robustness and reliability of data retrieval and assignment in the Monitoring plugin, particularly when handling potentially missing or undefined values. It also updates the plugin version to reflect these changes.

Robustness improvements for undefined values

  • Improved checks for the existence of the ARMv command before accessing its elements to prevent errors when the key is missing in both remote and local command execution paths in Monitoring.class.php. [1] [2]
  • Used the null coalescing operator (?? '') to ensure that ASUS-WRT related variables such as asus_wifi2g_temp_value, asus_wifi5g_temp_value, asus_fw_check_value, and asus_wan0_ip_value default to an empty string if not set, preventing potential undefined variable issues.

Version update

  • Bumped the plugin version from 3.4.7 to 3.4.8 in info.json to reflect the new changes.

Prevent undefined-index notices when ARMv commands are unavailable and when ASUS-WRT temperature/value fields are missing. The fix keeps fallback logic safe and null-coalesces optional outputs before formatting or storing them. Also bumps the plugin version to 3.4.8.
Guard ARMv and AsusWRT values
@TiTidom-RC
TiTidom-RC merged commit ba4664d into master Sep 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant