• Resolved WEBHAUS

    (@webhaus)


    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)
  • Plugin Contributor Nauriskolats

    (@nauriskolats)

    Hi @webhaus

    Thanks for the information – will take a look into it and fix this in our next release!
    Much appreciated!

    Best,
    Nauris

    Plugin Contributor Nauriskolats

    (@nauriskolats)

    Hi @webhaus,

    Once again, thank you for reporting this.
    We have just released a new version that fixes this ??

    Best,
    Nauris

    Thread Starter WEBHAUS

    (@webhaus)

    Hello, after updating to the latest version, problem still pops up, but this time only on the line 213. Please update that too.

    Thanks

    Plugin Contributor Nauriskolats

    (@nauriskolats)

    Hello, thank you for this one as well.
    Will take care of this in the next release!

    Really appreciate you helping! ??

    Kind regards,
    Nauris

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP8 related warnings – Request for easy fix’ is closed to new replies.