• Resolved etzesty

    (@etzesty)


    Hi!
    I have major problem related to the user registration when using this plugin – users get critical error after trying to register on my website.
    Critical error look like this:
    2024-11-01T15:08:07+00:00 Critical Uncaught ArgumentCountError: Too few arguments to function woocommerce_abandon_cart_lite::wcal_from_address_for_emails(), 2 passed in /wp-includes/class-wp-hook.php on line 324 and exactly 3 expected in /wp-content/plugins/woocommerce-abandoned-cart/woocommerce-ac.php:4115

    So the reason for this error are these 2 functions in woocommerce_abandon_cart_lite class
    wcal_from_address_for_emails( $wp_admin_address, $email, $from_email ) and wcal_from_name_for_emails( $wp_admin_name, $email, $from_name_default )

    So each function, for some reason, has parameter, that is not used anywhere.
    Why do these function have required parameters, that are not used? After removing them, everything works fine.
    (Plugin is updated to the last current available version 6.1.1)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support priyankajagtap

    (@priyankajagtap)

    Hi @etzesty,

    I sincerely apologize for any inconvenience this error may have caused you and for the delay in our response.

    Thank you for providing additional details about the issue you encountered.

    I have escalated this matter to our development team, who will thoroughly investigate and work on a solution. I will keep you updated as soon as I receive any information regarding this.

    Plugin Support priyankajagtap

    (@priyankajagtap)

    Hi @etzesty,

    The developer has fixed the issue you reported. Below is the link to download the patched file
    “woocommerce-ac.php” of our plugin that contains the patch for the issue.
    Link: https://www.dropbox.com/scl/fi/f7kn0w7xkmez7japik32h/woocommerce-ac.php?rlkey=jn4md93rw1vg3mprj46q2jv89&st=5wfbsh4s&dl=0

    Kindly download and replace the provided file with the existing one via FTP at the below-mentioned path.
    Path: \wp-content\plugins\woocommerce-abandoned-cart\ <HERE>

    Once you have replaced the provided file, please check and confirm with us if the provided fix is working fine at your end or not.

    Do let us know the results.

    Plugin Support priyankajagtap

    (@priyankajagtap)

    Hi @etzesty,

    We have released an update ( v6.2.0 ) of the Abandoned Cart Lite plugin a few minutes ago, which includes the fix for the critical error that appeared for you from our plugin. So kindly update the plugin to its latest version and confirm if that critical error still appears for you.

    Please check and let us know the results.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Critical error’ is closed to new replies.