Wordpress Jetpack插件简单的支付问题

Wordpress Jetpack插件简单的支付问题,wordpress,jetpack,Wordpress,Jetpack,我刚刚更新了jetpack wordpress插件,出现了以下错误: Fatal Error (E_ERROR): Call to undefined method Jetpack_Simple_Payments::is_enabled_jetpack_simple_payments() occurred in wp-content/plugins/jetpack/modules/widgets/simple-payments.php on line 480 please make sure t

我刚刚更新了jetpack wordpress插件,出现了以下错误:

Fatal Error (E_ERROR): Call to undefined method Jetpack_Simple_Payments::is_enabled_jetpack_simple_payments() occurred in wp-content/plugins/jetpack/modules/widgets/simple-payments.php on line 480 please make sure that your website is accessible

有人对解决方案有什么看法吗?谢谢,

暂时您可以在文件中添加缺少的方法已启用\u jetpack\u simple\u payments: jetpack/modules/simple payments/simple-payments.php

function is_enabled_jetpack_simple_payments() {
    /**
     * Can be used by plugin authors to disable the conflicting output of Simple Payments.
     *
     * @since 6.3.0
     *
     * @param bool True if Simple Payments should be disabled, false otherwise.
     */
    if ( apply_filters( 'jetpack_disable_simple_payments', false ) ) {
        return false;
    }
    // For WPCOM sites
    if ( defined( 'IS_WPCOM' ) && IS_WPCOM && function_exists( 'has_blog_sticker' ) ) {
        $site_id = $this->get_blog_id();
        return has_blog_sticker( 'premium-plan', $site_id ) || has_blog_sticker( 'business-plan', $site_id );
    }
    // For all Jetpack sites
    return Jetpack::is_active() && Jetpack::active_plan_supports( 'simple-payments');
}