Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined index HMAC_secret #15401

Closed
garak opened this issue Jul 26, 2019 · 13 comments
Closed

Undefined index HMAC_secret #15401

garak opened this issue Jul 26, 2019 · 13 comments
Assignees
Labels
Bug A problem or regression with an existing feature
Projects
Milestone

Comments

@garak
Copy link

garak commented Jul 26, 2019

Describe the bug

Every time I execute a query, I get following notice (repeated many times):

Notice in ./libraries/classes/Core.php#1285
Undefined index: HMAC_secret

To Reproduce

Steps to reproduce the behavior:

  1. Go to your database
  2. Perform a search (or a manual query)
  3. See error

Expected behavior

No notice

Server configuration

  • Operating system: Ubuntu 18.04
  • Web server: PHP cli
  • Database version: 5.7.20
  • PHP version: 7.2.19
  • phpMyAdmin version: 5.0.0-alpha1

Client configuration

  • Browser: Firefox 68.0.1
  • Operating system: Ubuntu 18.04
@garak garak changed the title Undefined index HMAC_Secret Undefined index HMAC_secret Jul 26, 2019
@williamdes
Copy link
Member

@garak Try to logout and login again

@williamdes williamdes self-assigned this Jul 26, 2019
@garak
Copy link
Author

garak commented Jul 26, 2019

It looks like logout/login workaround is working.
Anyway, I would suggest to avoid relying on session variables that could be empty (and, in general, on any variable that could be undefined)

@williamdes
Copy link
Member

@garak you created the session with a previous version and updated the code
The variable should not have been undefined
See: #15325
I think you can close the issue?

@garak garak closed this as completed Jul 26, 2019
@williamdes williamdes added Bug A problem or regression with an existing feature and removed undecided labels Feb 22, 2020
@williamdes williamdes added this to the 5.0.2 milestone Feb 22, 2020
@williamdes williamdes added this to Needs triage in issues via automation Feb 22, 2020
@williamdes williamdes reopened this Feb 22, 2020
williamdes added a commit that referenced this issue Feb 22, 2020
Signed-off-by: William Desportes <williamdes@wdes.fr>
issues automation moved this from Needs triage to Closed Feb 22, 2020
@BaxAndrei
Copy link

I still have this problem.

@ibennetch
Copy link
Member

@BaxAndrei Are you using the latest master branch from git? This fix 0da6ad6 hasn't yet been part of a released version yet but is part of master. The fixed version should be released soon.

@BaxAndrei
Copy link

I just updated my cPanel.

@dhavalveriheal
Copy link

I am also having the same issue. when can we expect the solution for this?

@williamdes
Copy link
Member

I am also having the same issue. when can we expect the solution for this?

5.0.2 will patch this issue.
For now, logout and login again :)

@BaxAndrei
Copy link

I am also having the same issue. when can we expect the solution for this?

5.0.2 will patch this issue.
For now, logout and login again :)

Same

@Meteor64
Copy link

Meteor64 commented Mar 8, 2020

Describe the bug

Every time I execute a query, I get following notice (repeated many times):

Notice in ./libraries/classes/Core.php#1285
Undefined index: HMAC_secret

To Reproduce

Steps to reproduce the behavior:

  1. Go to your database
  2. Perform a search (or a manual query)
  3. See error

Expected behavior

No notice

Server configuration

  • Operating system: Ubuntu 18.04
  • Web server: PHP cli
  • Database version: 5.7.20
  • PHP version: 7.2.19
  • phpMyAdmin version: 5.0.0-alpha1

Client configuration

  • Browser: Firefox 68.0.1
  • Operating system: Ubuntu 18.04

go to phpMyAdmin and click on empty session data button

@williamdes
Copy link
Member

@Meteor64 please try latest version in development (phpMyAdmin 5.0+snapshot)

@RodneySW
Copy link

I have just updated my PMA (not the developer version), and now I am getting this error too.

@williamdes
Copy link
Member

Hi
For everybody having this issue before 5.0.2 please logout and login back again.
If the issue persists please open another issue.

@phpmyadmin phpmyadmin locked as resolved and limited conversation to collaborators Mar 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature
Projects
issues
  
Closed
Development

No branches or pull requests

7 participants