WCMp Stripe Mktplce breaks when PHP updated to 7.4

WCMp Stripe Marketplace

Resolved
Viewing 18 reply threads
  • Author
    Posts
    • #117944
      seehowsupport
      Participant

      I’ve had to return our site to PHP 7.2 because when I updated to 7.4, I got this Fatal Error:

      Fatal error: Uncaught Error: Class ‘Stripe\WebhookEndpoint’ not found in /home/gulf284/public_html/wp-content/plugins/wcmp-stripe-marketplace/includes/WebhookHandler.php:52 Stack trace: #0 /home/gulf284/public_html/wp-includes/class-wp-hook.php(292): WebhookHandler->register_webhook(”) #1 /home/gulf284/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #2 /home/gulf284/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home/gulf284/public_html/wp-includes/template-loader.php(13): do_action(‘template_redire…’) #4 /home/gulf284/public_html/wp-blog-header.php(19): require_once(‘/home/gulf284/p…’) #5 /home/gulf284/public_html/index.php(17): require(‘/home/gulf284/p…’) #6 {main} thrown in /home/gulf284/public_html/wp-content/plugins/wcmp-stripe-marketplace/includes/WebhookHandler.php on line 52

      I don’t know if this has anything to do with it, but I had updated Stripe Marketplace to 2.0, and yet, as you’ll see in the screenshot attached, it continues to say it needs updating to 2.0.0. I’ve tried that update a few more times – still says it needs updating and still breaks with 7.4.

      I’m running WP 5.7 BTW

    • #117981

      Hi @seehowsupport, after hearing from you, we have checked this on our end, didn’t face any issue with 7.4 PHP

      So, can you please share a temporary admin, ftp access of your staging site (which has PHP 7.4), so we can help you out accordingly? While sharing the access, don’t forget to mark the response as private.

    • #118422
      seehowsupport
      Participant

      I haven’t had a chance to set up a test site that’s on 7.4, but this may be related.

      So, running PHP 7.2, WP 5.7, and WCMP Stripe updated to v.2.0, when a Vendor tries view a single order OR if we go in as admin and try to see their sub-order, WordPress throws this fatal error:

      Fatal error: Cannot declare class WC_Stripe_Customer, because the name is already in use in /home/gulf284/public_html/wp-content/plugins/wcmp-stripe-marketplace/includes/class-wcmp-stripe-customer.php on line 12

      BTW, when I say WCMP Stripe is at 2.0, it continues to say there’s an update to 2.0.0 – I do the update and it continues to say there’s an update…

    • #118453

      @seehowsupport, thanks for the further details, however, we are getting the error on our end. We checked the line too.

      As you are facing this issue, please do share the access, so our team can inspect this.

    • #118456
      seehowsupport
      Participant
      This reply has been marked as private.
    • #118457
      seehowsupport
      Participant
      This reply has been marked as private.
    • #118484

      Kindly share the FTP access and while sharing it please mark the reply private.

    • #118493
      seehowsupport
      Participant
      This reply has been marked as private.
    • #118495
      This reply has been marked as private.
    • #118530
      seehowsupport
      Participant
      This reply has been marked as private.
    • #118594
      This reply has been marked as private.
    • #118608
      Brand by Difference
      Participant

      Hello.

      Sorry posting in this thread but we just update our server to PHP 7.4 and we are getting the same exact php error (… Got error ‘PHP message: PHP Fatal error: Uncaught Error: Class ‘Stripe\\WebhookEndpoint’ not found in …).

      Previously we had PHP 7.3 and was working fine. Our WordPress, Woocommerce and all WCMp addons are updated to last versions.

      Can you share a solution if you have any?

      Thank you very much.

    • #118635
      seehowsupport
      Participant

      Our site is back up and functioning again – still on PHP 7.2. as I haven’t dared to try that update again while these other issues were happening.

      The answer to the

      Fatal error: Cannot declare class WC_Stripe_Customer, because the name is already in use in /home/gulf284/public_html/wp-content/plugins/wcmp-stripe-marketplace/includes/class-wcmp-stripe-customer.php on line 12

      error, was to remove Woocommerce’s Stripe Plugin. Now, we have been using Woo Stripe alongside Stripe Marketplace from day one and have had no issues. In fact, we had to have both plugins running to get the store functioning… so something must have changed in one or both of the plugins. The result was that running two Stripe plugins now caused a conflict.

      The second thing I did was implement the Major Update of the WCMP Free plugin, which came out a few days ago – I don’t know how much that had to do with fixing things, but anyway…

      I will let you know what happens when I try updating to PHP 7.4 over the weekend – I’m just happy to have the store running again for the moment so I don’t want to mess with anything for a bit 🙂

    • #118722

      @seehowsupport,@Brand by Difference we are using php version 8.0.3. But didn’t find webhook class includes issue in our end.
      Can any one of you create a staging site and share the admin, ftp accessso our team can check this.

      @seehowsupport, We have added compatibility with the stripe plugin. We will add this in our next update

    • #119069
      seehowsupport
      Participant

      I had already set up a test site – the credentials are in one of the private replies.

    • #119172

      @seehowsupport, we checked your site, didn’t see any error.

      Can you share the page, where we can see this error.

    • #119182
      seehowsupport
      Participant

      If you go to any order – on the trial website – then click on a sub-order – you get a critical error, as in the screenshot attached.

    • #119359

      @seehowsupport, we have fixed the issue in your site, and we will release the same in our next update.

      Also, we have updated the plugins in your site.

    • #122969

      Hi, we haven’t heard back from you for a while. We presume this issue has been fixed.

      Please open another thread if you need any further help

Viewing 18 reply threads

The topic ‘WCMp Stripe Mktplce breaks when PHP updated to 7.4’ is closed to new replies.