Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Ginzeru Posted September 29, 2020 Posted September 29, 2020 (edited) Solved. Edited September 29, 2020 by Ginzeru
CoffeeCake Posted September 29, 2020 Posted September 29, 2020 (edited) What leads to this error? Can you give some of the background of what you or your users do before getting the error above? What are the steps taken to reproduce? Did this work before? What changed before it stopped working? Are users adding things to their cart and then seeing this? That error happens when a user attempts to check out and there are no items selected in the invoice/shopping cart: if ( !\count( $invoice->items ) ) { \IPS\Output::i()->error( 'your_cart_empty', '2X214/2', 403, '' ); } Edited September 29, 2020 by Paul E.
Recommended Posts