New Landing How can we help? Themeforest Theme Support Neighborhood PHP error related to ship_to_billing_address

Viewing 7 posts - 1 through 7 (of 7 total)
  • #110319
    4boards
    Member
    Post count: 37

    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 16

    #110460
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    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.

    #110476
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @4boards

    What version of WooCommerce are you using? Have you updated to v2.2x?

    – Ed

    #110653
    4boards
    Member
    Post count: 37

    No, 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?

    #110716
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @4boards

    I would strongly suggest updated WooCommerce to 2.2 – the issues were all prior to the 1.9 update being released.

    – Ed

    #110782
    4boards
    Member
    Post count: 37

    Hi, we are going to upgrade to Woocommerce 2.2 so happy to close this topic at the moment.

    #110787
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Great.
    -Rui

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.