• Resolved espointpolish

    (@espointpolish)


    Hi there, I received an email from WordPress with the following error details:

    WordPress version 6.7.2
    Active theme: Mai Reach (version 2.0.1)
    Current plugin: WooPayments (version 8.9.1)
    PHP version 8.2.27

    Error Details
    =============
    An error of type E_ERROR was caused in line 256 of the file /srv/htdocs/wp-content/plugins/woocommerce-payments/woocommerce-payments.php. Error message: Uncaught Error: Failed opening required ‘/srv/htdocs/wp-content/plugins/woocommerce-payments/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-core-plugin.php’ (include_path=’/:.’) in /srv/htdocs/wp-content/plugins/woocommerce-payments/woocommerce-payments.php:256
    Stack trace:
    #0 /wordpress/core/6.7.2/wp-includes/class-wp-hook.php(324): wcpay_init_subscriptions_core(”)
    #1 /wordpress/core/6.7.2/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #2 /wordpress/core/6.7.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /wordpress/core/6.7.2/wp-settings.php(559): do_action(‘plugins_loaded’)
    #4 /srv/htdocs/wp-config.php(82): require_once(‘/wordpress/core…’)
    #5 /wordpress/core/6.7.2/wp-load.php(55): require_once(‘/srv/htdocs/wp-…’)
    #6 /wordpress/core/6.7.2/wp-login.php(12): require(‘/wordpress/core…’)
    #7 {main}
      thrown

    The plugin is up to date but apparently this is a fatal error so I’m not sure what to do. Thank you for your help!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @espointpolish ,

    The error you’re encountering seems to be caused by a missing or incorrectly loaded file related to the WooCommerce Subscriptions plugin. Specifically, the file class-wc-subscriptions-core-plugin.php is not being found, which is leading to the fatal error.

    To resolve this, I recommend reinstalling the WooPayments plugin to ensure all necessary files are correctly installed:

    1. Deactivate the WooPayments plugin.

    2. Delete the plugin (your settings and payments should remain intact).

    3. Reinstall WooPayments from the WordPress plugin repository.

    This should address any issues with missing or corrupted files.

    Plugin Support Feten L. a11n

    (@fetenlakhal)

    Hello! Since it’s been a while, I’ll mark this as closed for now. We’re always available to help when you’re ready to proceed.

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

The topic ‘WooPayments causing fatal error’ is closed to new replies.