• Resolved jaapjvh

    (@jaapjvh)


    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:17

    The 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)
  • Plugin Author MultiSafepay

    (@multisafepayplugin)

    Hello @jaapjvh.

    Thank for reach us and report this issue.

    We will take care and get back to you informing a new release including this fix.

    Plugin Author MultiSafepay

    (@multisafepayplugin)

    Hello @jaapjvh

    Once again, thanks for reach us, and report this issue.

    We just released 4.11.0 version, which should fix this problem.

    If you upgrade and continue experiencing any issue related please, just reopen this ticket.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error plugin page multisite’ is closed to new replies.