• Resolved wsme123

    (@wsme123)


    Hi I am receiving the below error in check out page, your assistance is much appreciated.

    Undefined index: priority in /plugins/woo-address-book-master/woocommerce-addres

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wsme123

    (@wsme123)

    Further to my previous post, I am also receiving the below error and the plugin is not working.

    Notice: Array to string conversion in /home/wsmetes2/public_html/transcold/wp-content/plugins/woo-address-book-master/woocommerce-address-book.php on line 502

    Please have a look into this and come back to us asap.. Thanks

    Plugin Contributor Gary Thayer

    (@doomwaxer)

    Running with the default Woo, TwentySeventeen and the Woo Address Plugin I am not seeing these errors. I suspect there is a conflict with another plugin or your theme which will make it difficult to diagnose on my end.

    For your first note, it sounds like a fairly minor issue. The PHP warning isn’t great, but everything should work as intended.

    For your second note, are you adding any custom fields? The error is occurring with the naming structure. I’d suggest taking a look at that. Not sure of your skill level, but I’d recommend var_dumping the values at: $address[ $name . $field ] = get_user_meta( $user_id, $name . $field, true );

    Hopefully this will give you some lead as to what field may be causing the issue.

    • This reply was modified 6 years, 3 months ago by Gary Thayer.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined index: priority in /plugins/woo-address-book-master/woocommerce-addres’ is closed to new replies.