Support » Plugin: WooCommerce Stripe Payment Gateway » Fatal Error When Updating to WooCommerce Stripe Gateway version 5.6.0

  • Resolved naashiart



    The latest update is causing this error when I try to update the plugin:

    Fatal error: cannot declare class wc_stripe_rest_controller, because the name is already in use /home/customer/www/ on line 0

    Here’s the system status report before updating the plugin:

    I’m unable to retrieve a report after updating the plugin as the error crashes the status page too.

    I have restored a backup version of my site and disabled auto update for the plugin for now. Appreciate help to resolve this issue asap, thank you.


Viewing 8 replies - 1 through 8 (of 8 total)
  • Three Heads Records


    Uma vergonha esse plugin arrebentar meu site em vários lugares depois da atualização para a versão 5.6.0, só consegui resolver depois de voltar backup, inaceitável uma irresponsabilidade dessa. Não efetuaram todos os testes antes de liberar a versão. Estou muito revoltado com isso. A Stripe é culpada também por não checar tais atualizações em seu departamento de desenvolvimento. Vou encerrar minha conta na STRIPE por isso.



    This update broke my site, but with a different error:

    [02-Oct-2021 14:45:02 UTC] PHP Fatal error: Trait ‘WC_Stripe_Subscriptions_Trait’ not found in /home/customer/www/ on line 15



    I am having the same issue, which update caused this? WooCommerce?
    UPDATE: I back-dated to the 5.5.0 version, this took care of my site and disabled automatic updates.

    • This reply was modified 2 months ago by sretacm. Reason: resolved

    Hi All,

    See my explanation at the following support thread on why this issue was caused:

    Version 5.6.0 of this plugin added a new class name that is identical to a class name that’s used in Stripe For WooCommerce.

    Kind Regards,

    Plugin Support B C. a11n


    Hey all!

    There are minor issues with version 5.6, please roll back to version 5.5.0 for now. The developers are working on this.

    You can download the version here:




    Hey, we’ve experienced the same issue in several clients because unfortunatelly we have to use both plugins:

    Mr. Clayton’s plugin (Stripe for WooCommerce) works great and offers great functionality but it is not compatible with Point of Sale for WooCommerce so we needed to install and activate also the WooCommerce “official” Stripe Plugin (WooCommerce Stripe Gateway).

    @mrclayton It would be awesome if we could use yours with WooCommerce POS (not sure if that is up to you thow)

    Meanwhile it would be even better if WooCommerce team can fix this issue with class name conflicts! 🙂

    Our current fix is downgrading WooCommerce Stripe Gateay as @battouly recommends.

    Hi @drasier

    Please reach out to us via our support page and we can discuss the POS integration.

    Kind regards

    Plugin Support Adam a11n


    Noting here that this should be fixed as of version 5.6.1, released on Oct 4. Updating Stripe to the latest should work now. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.