• 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /var/www/html/cnasolution/site/application/views/question.php
Line: 191
Function: _error_handler

File: /var/www/html/cnasolution/site/application/controllers/Questions.php
Line: 419
Function: view

File: /var/www/html/cnasolution/site/index.php
Line: 315
Function: require_once

I am editing woocommerce form-login.php file. Yes I know it is not recommended to edit core template but actually I am doing this for my personal project. Here is my code

    

I am adding FULL NAME and MOBILE NUMBER fields in the form. But when user click register these fields values are not submitted to database. Also I want to validate billing_phone fields, as mobile number already in other user profile then it give error that THIS NUMBER IS ALREADY REGISTERED. Someone help please.

PS: I want to use any modifications in form-login.php code file only, not in theme function.php

Download script demo [LINK]
Download script demo [LINK 2] Download script demo [LINK 2]