piWallet icon indicating copy to clipboard operation
piWallet copied to clipboard

PHP Notice: Undefined index: g-recaptcha-response

Open alforro opened this issue 5 years ago • 9 comments

I am using: Ubuntu 16.04.6 LTS PHP 5.6.40-6

When I try to login nothing happens, I found this error on /var/log/apache2/error.log

[Thu Apr 18 19:38:44.528061 2019] [:error] [pid 7405] [client 181.123.31.124:59758] PHP Notice: Undefined index: g-recaptcha-response in /var/www/html/index.php on line 312

My recaptcha widget loads fine as I can see. I couldnt fine anyone else with this problem.

alforro avatar Apr 18 '19 19:04 alforro

Tried with Ubuntu 14.04 and PHP 5.5.9 and I got the same error

alforro avatar Apr 20 '19 08:04 alforro

Same result on Ubuntu 18.04 PHP version 7.2 Undefined index: g-recaptcha-response in /var/www/html/index.php on line 312

UltraNote avatar Jul 10 '19 22:07 UltraNote

Same result on windows PHP version 7.0 Notice: Undefined index: g-recaptcha-response in D:\Work\BlockChain\piWallet-master\index.php on line 312

jivaklong avatar Aug 29 '19 14:08 jivaklong

Same problem Ubuntu 18.04 Notice: Undefined index: g-recaptcha-response in /var/www/html/index.php on line 312

euskoblockchain avatar Jun 12 '20 18:06 euskoblockchain

i had this issue as well but.. it has to do with using a different version of a php plugin. what fixed it for me was

sudo add-apt-repository -y ppa:ondrej/php sudo apt-get update sudo apt-get install git apache2 php5.6 php5.6-mysql php5.6-gd libapache2-mod-php5.6 mysql-server

you probably already did this once. but along the way an apt-get upgrade or apt-get update probably messed it up for you like it did for me. Not a solution to it running on php5.6 but it will get it going for ya. hoepfully... maybe. ;)

krewshul avatar Jun 17 '20 19:06 krewshul

Ever find a fix for this? I have same problem.

Kreedence avatar Apr 24 '21 05:04 Kreedence

i have the same problem the g_recaptcha_response seem to be empty, i try to use on more than one page my recaptcha and i obtain this error with second page i use it

dewachen avatar May 22 '21 14:05 dewachen

i have passed through this error, my form was in table and i got the same error than you, i've put all my form and fields between some

and the recaptcha was send and received correctly, the error is in our form, no , just

dewachen avatar May 22 '21 15:05 dewachen

between some div, no table, just div

dewachen avatar May 22 '21 15:05 dewachen