• Resolved tdelsack

    (@tdelsack)


    I’m getting three warnings on my staging site where I have WP Debug on:

    Deprecated: Creation of dynamic property WC_Product_Variation::$awdr_product_original_price is deprecated in /home/stagfral/public_html/wp-content/plugins/woo-discount-rules/v2/App/Controllers/ManageDiscount.php on line 1427

    Deprecated: Creation of dynamic property WC_Product_Variation::$awdr_product_original_price is deprecated in /home/stagfral/public_html/wp-content/plugins/woo-discount-rules/v2/App/Controllers/ManageDiscount.php on line 1427

    Deprecated: Creation of dynamic property WC_Product_Variation::$awdr_product_original_price is deprecated in /home/stagfral/public_html/wp-content/plugins/woo-discount-rules/v2/App/Controllers/ManageDiscount.php on line 1427

    This happens on page load. I’m running PHP 8.0

    The page I need help with: [log in to see the link]

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

    (@haripradeepa)

    Hi,
    Thank you for reaching out!

    We understand your concern regarding the deprecated message. This typically occurs when using Discount Rules with PHP 8.x.x and is related to our plugin version. Please note that this is only a warning, not an error, and it will not impact the plugin’s functionality.

    We are actively working on this, and a fix will be included in our future release of Discount Rules.

    If you need further assistance or have any additional questions, feel free to let us know. We’re here to help!

    Best regards,
    Flycart Team

    Steve D.

    (@sdowney2002)

    This deprecation causes issues when wp_debug is enabled.

    While the deprecation itself doesn’t impact performance, when wp_debug is enabled (when testing a staging site, for example), the checkout review order table will not finishing loading – I get a continual “loading” animation. (See screenshot).

    This is on the default Storefront theme, with all plugins disabled except Woocommerce & Discount Rules (PHP 8.2).

    The deprecation prevents me from being able to fully test my staging site. I can’t be certain whether the checkout loading problem is due to your plugin’s deprecation error, or some other error.

    So, IMHO, there is some urgency is getting this fixed. Thanks!

    Plugin Support haripradeepa

    (@haripradeepa)

    Hello there!
    Thank you so much for your prompt reply.

    We completely understand that you may be experiencing some difficulties, but rest assured, we are diligently working on the V3 and this warning message will no longer be an issue.

    In order to assist you further, would you mind submitting a support ticket on our website at https://www.flycart.org/support? This will allow us to share the beta version of our V3 discount rules with you.

    We are committed to providing the best possible experience for our valued customers, and we are confident that our V3 will exceed your expectations.

    Thank you for your cooperation and understanding. We look forward to resolving this for you.

    Best regards,
    Flycart team

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.