Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › PHP error related to ship_to_billing_address
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › PHP error related to ship_to_billing_address
- This topic has 6 replies, 4 voices, and was last updated 10 years by Rui Guerreiro – SUPPORT.
-
Posted in: Neighborhood
-
September 13, 2014 at 10:22 am #110319
This error message appears in the log regularly since update;
[12-Sep-2014 08:17:47 UTC] PHP Fatal error: Call to undefined function wc_ship_to_billing_address_only() in /home/boardsc/public_html/wp-content/themes/neighborhood/woocommerce/myaccount/my-address.php on line 16
[12-Sep-2014 09:17:18 UTC] PHP Fatal error: Call to undefined method WC_Order::has_status() in /home/boardsc/public_html/wp-content/themes/neighborhood/woocommerce/checkout/thankyou.php on line 32
[12-Sep-2014 09:18:15 UTC] PHP Fatal error: Call to undefined method WC_Order::has_status() in /home/boardsc/public_html/wp-content/themes/neighborhood/woocommerce/checkout/thankyou.php on line 32
[12-Sep-2014 13:37:25 UTC] PHP Fatal error: Call to undefined function wc_ship_to_billing_address_only() in /home/boardsc/public_html/wp-content/themes/neighborhood/woocommerce/myaccount/my-address.php on line 16
[12-Sep-2014 13:37:27 UTC] PHP Fatal error: Call to undefined function wc_ship_to_billing_address_only() in /home/boardsc/public_html/wp-content/themes/neighborhood/woocommerce/myaccount/my-address.php on line 16
[12-Sep-2014 13:38:07 UTC] PHP Fatal error: Call to undefined function wc_ship_to_billing_address_only() in /home/boardsc/public_html/wp-content/themes/neighborhood/woocommerce/myaccount/my-address.php on line 16
[12-Sep-2014 13:38:08 UTC] PHP Fatal error: Call to undefined function wc_ship_to_billing_address_only() in /home/boardsc/public_html/wp-content/themes/neighborhood/woocommerce/myaccount/my-address.php on line 16
[12-Sep-2014 13:38:10 UTC] PHP Fatal error: Call to undefined function wc_ship_to_billing_address_only() in /home/boardsc/public_html/wp-content/themes/neighborhood/woocommerce/myaccount/my-address.php on line 16
[12-Sep-2014 13:38:16 UTC] PHP Fatal error: Call to undefined function wc_ship_to_billing_address_only() in /home/boardsc/public_html/wp-content/themes/neighborhood/woocommerce/myaccount/my-address.php on line 16September 14, 2014 at 10:46 pm #110460Hi,
Open up that file, and change this
if ( get_option('woocommerce_ship_to_billing_address_only') == 'no' ) {
to this
if ( ! wc_ship_to_billing_address_only() ) {
and try this error populate or not, also I mark this thread to our developer to take a look.
Let us know,
Thanks,
laranz.September 15, 2014 at 2:40 am #110476September 15, 2014 at 11:20 am #110653No, still on 2.1.12, bit concerned regards updating =having seen some of the forum topics regards problems that have arisen.
Should we make change suggested by Laranz?
September 15, 2014 at 1:12 pm #110716Hi @4boards
I would strongly suggest updated WooCommerce to 2.2 – the issues were all prior to the 1.9 update being released.
– Ed
September 15, 2014 at 2:36 pm #110782Hi, we are going to upgrade to Woocommerce 2.2 so happy to close this topic at the moment.
September 15, 2014 at 2:41 pm #110787Great.
-Rui -
Posted in: Neighborhood
You must be logged in to reply to this topic.