• Resolved Ward

    (@yward)


    Thank you for the simple and functional plugin, I’ve just installed it earlier today and was about to give a straight 5 stars, however, your latest update has broken the plugin and it no longer validates the phone, what is even worse it actually prints some code as if debugging is enabled in the checkout field.

    I highly just you throughly test updates before pushing it live, also it’s preferred that you provide a changelog before pushing updates as they can break checkout in live sites.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Precious Omonzejele

    (@preciousomonze)

    Hello, sure i did an update few hours ago
    And tested.
    Please can you provide me the environment you’re on, so i can see on my end?
    Thanks. And sorry about this.??

    Update: i have seen the issue, will push a fix asap.

    Thread Starter Ward

    (@yward)

    Hello there.

    I’m using the latest wordpress and Woocommerce versions, however, my website has plenty of plugins, it should not be a conflict since 1.2.1 works fine, it’s 1.3 that is broken.

    Additional info:
    -I’m using the default country filter and it’s working fine.

    Here’s the behaviour:
    -Enter an invalid number during checkout and click place order.
    -An empty error notice would appear (instead of the invalid phone number message that is supposed to be echoed)
    -html code will print at the bottom of checkout page

    Since my website is a live site with paying customers I cannot afford to keep your latest version on it so I rolled back to 1.2.1, however, I’ll try to setup a staging website with 1.3.0 to send you screenshots from.

    • This reply was modified 4 years, 3 months ago by Ward.
    Thread Starter Ward

    (@yward)

    Additional environment info:
    -PHP 7.3.19RC1
    -MariaDB 11.3
    -PHP memory limit: 4GB

    Let me know if you need any further info.

    Plugin Author Precious Omonzejele

    (@preciousomonze)

    Hello, thanks for it.
    The issue has been resolved, please reinstall and let me know.
    Will be waiting.

    Thread Starter Ward

    (@yward)

    Hi again,

    Sadly your fix broke the entire website this time, here’s a screenshot:
    https://www.upload.ee/image/12085032/Screenshot_2.png

    Error that broke the website is in:
    wp-content/plugins/woo-phone-validator/public/class-woocommerce-checkout.php on line 44

    Please test your changes locally before pushing live, thank you once more <3

    Thread Starter Ward

    (@yward)

    It appears to be related to the preferred countries filter you’ve added in the latest version

    Thread Starter Ward

    (@yward)

    PHP Fatal error: Uncaught Error: Call to undefined method WC_PV::get_preferred_countries()

    Plugin Author Precious Omonzejele

    (@preciousomonze)

    Hi @yward , really sorry about this situation.
    I am currently on a staging site, and using v1.3.0
    and it works fine
    https://peths.digital/bybo/checkout/
    The

    PHP Fatal error: Uncaught Error: Call to undefined method WC_PV::get_preferred_countries()

    shouldn’t be, because its defined in
    wp-content/plugins/woo-phone-validator/includes/class-wc-pv.php on line 254

    Thread Starter Ward

    (@yward)

    I’ll setup my own staging site tomorrow and help find the reason for the issue, as I cannot test again on my live site.

    Plugin Author Precious Omonzejele

    (@preciousomonze)

    Okay then, i thought you had already set one up.
    I will be expecting your feedback ASAP!
    Do have a nice night.
    Once again, I’m really sorry for the errors.

    Thread Starter Ward

    (@yward)

    No problem at all! Thank you for sharing this with wordpress community and for your prompt response and help!

    I’ll make sure to post feedback once I test tomorrow!

    Plugin Author Precious Omonzejele

    (@preciousomonze)

    Hello @yward
    I believe the issue has been resolved by now.
    Cause it worked for the fellow here.
    https://www.ads-software.com/support/topic/strange-output-on-woocommerce-checkout-page/#post-13213893

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Latest update broke the plugin and checkout’ is closed to new replies.