PHP8 related warnings – Request for easy fix
-
Howdy!
I have noticed that your plugin generates the following warnings on website which is running on PHP8:
Required parameter $ghost follows optional parameter $cart
which originates from this file (lines: 144, 213):
/woo-save-abandoned-carts/public/class-cartbounty-public.php
Error pretty much explains itself. Since I like to keep my error logs clean, I would recommend to change $ghost as optional parameter with default value of true for both create_new_cart and update_cart functions.
And yes… Thank you for your wonderful work, you guys made a great plugin, which is a must have for WooCommerce based shops! ??
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP8 related warnings – Request for easy fix’ is closed to new replies.