• Resolved lidiyam

    (@lidiyam)


    Hi ,
    i created one custom field :
    <input type="file" class="woocommerce-Input woocommerce-Input--text " name="gst-file">

    To store the image in wp_usermeta table am using following code:

    $r = wp_handle_upload( $_FILES[‘gst-file’]);
    update_user_meta( $user_id, ‘gst-file’, $r );

    But the value is storing as follow:
    a:1:{s:5:”error”;s:24:”Invalid form submission.”;}

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter lidiyam

    (@lidiyam)

    Thanks for you reply. I shared the details in mail.
    my website url is : imapepsmed.com

Viewing 1 replies (of 1 total)
  • The topic ‘how to upload the image in registeration page’ is closed to new replies.