• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Issue Invalid argument not valid semver ('' received)

@Sebahat.hadzhi
This gives a reproducible recipe for the robustness gap: any plugin that sets $wp_version to a non-semver value makes instance info return it, and the overview then aborts on the stored empty value. It explains Merlin's server only; the earlier cases (#1, #6) look like different causes. If you think it's worth passing on to the developers, the overview skipping a single bad record would limit the damage.

According to httpdocs/wp-content/plugins/hide-wordpress-version/hide-wordpress-version.php:

Code:
1.0.2: no longer overwrites the global $wp_version with a random number.
The version query string (?ver=) of scripts and styles is removed instead.

I can't find an older version of the plugin. I also can't trigger the behavior by manually adding $GLOBALS['wp_version'] = rand( 99, 999 ); to the plugin itself or through a must use plugin. This is such an edge case, and it isn't a bug in WP Toolkit per say. Toolkit can't be expected to produce a correct version when WordPress itself reports a random number. There's a room for improvement in the handling consistency, but I can't pass the case to the developers without evidence reproduceable on test.
 
Thank you, Tessa. Apologies for the delayed response on this matter. I am afraid that the issue doesn't reproduce even with the older version of the plugin. I verified that $GLOBALS['wp_version'] = rand( 99, 999 ); is present, but the behavior was not observed in the UI nor there are any such errors logged with or without debug mode enabled during normal WP Toolkit operations including detaching and re-scanning the instance. I have observed a similar warning logged Instance attribute 'version' has unexpected value "622", but the core issue does not occur. This leads me to the conclusion there's another trigger, but I cannot identify it.
 
Back
Top