Thread Starter
Doug
(@dmullisllc)
I captured this error concerning the problem:
Uncaught Error: Call to a member function get_method_id() on null in /home/mullrcwg/public_html/wp-content/plugins/custom-checkout-layouts-for-woocommerce/woocommerce-one-page-checkout-and-layouts.php on line 434
Hi @dmullisllc,
I have updated the code for the particular error . can you please re-download the plugin and let me know if it is working for you now.
Thanks
Thread Starter
Doug
(@dmullisllc)
Works perfectly!
Thanks for your quick reply and solution!
Hi There
Greate plugin, however with the last update it fails with error if the store does not use any shipping methods. I have copied the error and stack trace below> Unfortunately I had to disable it from our production site.
Fatal error: Uncaught Error: Call to a member function get_method_id() on null in /home/torontoh/public_html/healthcentre/wp-content/plugins/custom-checkout-layouts-for-woocommerce/woocommerce-one-page-checkout-and-layouts.php:434
Stack trace: #0 /home/torontoh/public_html/healthcentre/wp-includes/class-wp-hook.php(288):
CclwCheckout->cclw_shipping_no_label(NULL) #1 /home/torontoh/public_html/healthcentre/wp-includes/plugin.php(206):
WP_Hook->apply_filters(NULL, Array) #2 /home/torontoh/public_html/healthcentre/wp-content/plugins/custom-checkout-layouts-for-woocommerce/WooCommerce/checkout/review-order.php(187): apply_filters(‘cclw_shipping_n…’, NULL)
#3 /home/torontoh/public_html/healthcentre/wp-content/plugins/woocommerce/includes/wc-core-functions.php(249): include(‘/home/torontoh/…’)
#4 /home/torontoh/public_html/healthcentre/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2211): wc_get_template(‘checkout/review…’, Array) #5 /home/torontoh/public_html/healthcentre/wp-includes/class-wp-hook.php( in /home/torontoh/public_html/healthcentre/wp-content/plugins/custom-checkout-layouts-for-woocommerce/woocommerce-one-page-checkout-and-layouts.php on line 434
There has been a critical error on your website.
I deleted the previous version and downloaded the current version and it seems that the issue is fixed. It shows — for shipping. I wish it could read the status and hide the line but this will do. Another thing was that we had disabled the Qty and set it to one using filters, but it now seems that this feature is built in.
Thank you.
Would you be available for some plugin development ?