WordPress.org

Ready to get started?Download WordPress

Forums

WP Stripe
[resolved] Does this plugin work on WordPress MultiSite? (6 posts)

  1. jennefere
    Member
    Posted 2 years ago #

    Does this plugin work on WordPress Multisite? Each time I try to activate I get the following error:

    Fatal error: Cannot redeclare class Stripe in /home/jenah/public_html/wp-content/plugins/wp-stripe/stripe-php/lib/Stripe.php on line 15

    Is there a fix for this?

    http://wordpress.org/extend/plugins/wp-stripe/

  2. Noel Tock
    Human Made
    Plugin Author

    Posted 2 years ago #

    Hi there,

    I'll have a look and try to replicate it, seems awkward indeed.

    Cheers!

    Noel

  3. Noel Tock
    Human Made
    Plugin Author

    Posted 2 years ago #

    Must be running Stripe somewhere else on the site too, hence the functions are conflicting (i.e. another plugin).

  4. murdaugh
    Member
    Posted 2 years ago #

    I'm having this same issue. I believe it's because I'm running another plugin (a shopping cart one) that is also using Stripe. Is there any way around this?

  5. Noel Tock
    Human Made
    Plugin Author

    Posted 2 years ago #

    Yep, will put something defensive in for the next update.

  6. murdaugh
    Member
    Posted 2 years ago #

    Cool - as a stop gap, I did something (which I'm not particularly proud of) and just replaced the Stripe library include_once line with a reference to the library the other plugin was using. It works, but it's certainly not future-proof.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags