Nothing Special   »   [go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.

PHP Notice: Undefined index: g-recaptcha-response #93

Open
alforro opened this issue Apr 18, 2019 · 9 comments
Open

PHP Notice: Undefined index: g-recaptcha-response #93

alforro opened this issue Apr 18, 2019 · 9 comments

Comments

@alforro
Copy link
alforro commented Apr 18, 2019

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
Copy link
Author
alforro commented Apr 20, 2019

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

@UltraNote
Copy link

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

@jivaklong
Copy link

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

@euskoblockchain
Copy link
euskoblockchain commented Jun 12, 2020

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

@krewshul
Copy link
krewshul commented Jun 17, 2020

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. ;)

@KreedCoin
Copy link

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

@dewachen
Copy link

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
Copy link

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
Copy link

between some div, no table, just div

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants