Fatal error plugin page multisite
-
Very often we get a fatal error on the plugin overview page caused by MultiSafepay.
Not always, but every other day.The error is as follows:
Uncaught TypeError: version_compare(): Argument #2 ($version2) must be of type string, null given in /httpdocs/wp-content/plugins/multisafepay/src/Utils/UpgradeNotices.php:17The problem is that for some reason
$plugin['new_version']is not always available and then the fatal error occurs.public function show_multisite_upgrade_notice( $file, $plugin ) { if ( version_compare( $plugin['Version'], $plugin['new_version'], '<' ) ) {Can you add a condition that first of all checks if
$plugin['new_version']is available.Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Fatal error plugin page multisite’ is closed to new replies.