Claim your freedom to choose the perfect partner for your multi-vendor journey.

FREEDOM25

Celebrate the festive season by giving your marketplace a powerful lift!

FESTIVE20

5.0.x
Multi-store. Franchise. Facilitator. AI tools.
Everything your marketplace needs - now in one platform.
Power your marketplace dreams with unbeatable Black Friday deals!

MVXBLACK30

Supercharge your marketplace vision with unstoppable Cyber Monday deals!

MVXCYBER30

Holiday cheer, bigger savings
Take 25% off-because your marketplace deserves a gift too.

happyholiday

Reply To: New Stripe crash following most recent update

#218489
Crisim
Participant

There’s a second bug on checkout, that seems to be linked with PHP 8. I checked every single email of yours, and every single one, when it overrides the emails’s ‘object’ variable in the trigger() function, it does so by setting an object to that variable. Except in one specific email, causing a crash because of variable type mismatch.

It’s in class-mvx-email-admin-changer-order-status.php in the main mvx plugin.

In the trigger function, you set

$this->object = $order_id;

when it should be something like

$this->object = wc_get_order( $order_id );

You may not have ever seen a crash on your end, but when other plugins use the ‘object’ variable via filters and expect it to be an actual object and not an integer, then it crashes.

Shopping Cart
Scroll to Top