• Resolved tilekus

    (@tilekus)


    I have multisite. And on my main website everything is working properly (i think so), but when i’m trying to open new created site i see fatal error:

    PHP Fatal error: Uncaught Error: Call to a member function rest_url() on null in /PUBLIC_PATH/wp-content/plugins/woo-stripe-payment/includes/updates/update-3.0.7.php:13
    Stack trace:
    #0 /PUBLIC_PATH/wp-content/plugins/woo-stripe-payment/includes/class-wc-stripe-update.php(40): include()
    #1 /PUBLIC_PATH/wp-includes/class-wp-hook.php(287): WC_Stripe_Update::update(”)
    #2 /PUBLIC_PATH/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #3 /PUBLIC_PATH/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /PUBLIC_PATH/wp-settings.php(546): do_action(‘init’)
    #5 /PUBLIC_PATH/wp-config.php(106): require_once(‘/home/…’)
    #6 /PUBLIC_PATH/wp-load.php(37): require_once(‘/home/…’)
    #7 /PUBLIC_PATH/wp-blog-header.php(13): require_once(‘/home/…’)
    #8 /PUBLIC_PATH/index.php(17): require(‘/home/…’)
    #9 in /PUBLIC_PATH/wp-content/plugins/woo-stripe-payment/includes/updates/update-3.0.7.php on line 13

    Can you give me direction how to fix it? Version of woo-stripe-payment is 3.2.1

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @tilekus,

    Thank you for contacting us. That property should never be null since it’s initialized when the plugin is loaded. In your multisite setup, are you using a shared database for all sites or a database per site?

    If you have access to your database, can you check the entry stripe_wc_version in the options table and see what value you have? If it’s anything other than 3.2.1 manually update it to that version and save then test your newly created site again.

    Let me know once you follow those steps and what the result is and we can continue troubleshooting if the issue remains.

    Kind Regards,

    Thread Starter tilekus

    (@tilekus)

    Hi,
    thank you for your response.
    I find a reason of this issue. Stripe was network activated, but woocommerce not. So i activated woocommerce and the problem disappeared and i was able to enter to new site.
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error’ is closed to new replies.