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: utf8mb3 #16931

Closed
williamdes opened this issue May 31, 2021 · 5 comments
Closed

Undefined index: utf8mb3 #16931

williamdes opened this issue May 31, 2021 · 5 comments
Assignees
Labels
Bug A problem or regression with an existing feature help wanted
Projects
Milestone

Comments

@williamdes
Copy link
Member

Describe the bug

Notice: Undefined index: utf8mb3
#2 ./libraries/classes/Charsets.php(18): callControllerForRoute
#1 ./libraries/classes/Charsets.php(186): index
#0 ./libraries/classes/Charsets.php(163): getServerCharset

To Reproduce

No idea

Expected behavior

No php notice

Server configuration

  • Database version: ?
  • phpMyAdmin version: 5.1

Additional context

Reported many times and affects quite a bunch of users (at least 5).

@williamdes williamdes added Bug A problem or regression with an existing feature help wanted labels May 31, 2021
@williamdes williamdes added this to the 5.1.2 milestone May 31, 2021
@williamdes williamdes added this to Needs triage in issues via automation May 31, 2021
@williamdes williamdes moved this from Needs triage to Not reproduced in issues May 31, 2021
@williamdes
Copy link
Member Author

For members having access to our Sentry back-end, error: PHPMYADMIN-1G

@williamdes
Copy link
Member Author

Param Value
Error Type Notice
Error Message Undefined index: utf8mb3
Exception Type php
phpMyAdmin version 5.0.0
Incident count 11
Link Report#70614

This comment is posted automatically by phpMyAdmin's error-reporting-server.

@williamdes
Copy link
Member Author

Found on the error reporting server for phpMyAdmin versions: 5.0, 5.1, 5.2.0-dev (so one of the users is a tester)
Nothing installation specific. Would be glad to know the DBMS the users have

@williamdes
Copy link
Member Author

Found it on StackOverflow: https://stackoverflow.com/q/67421885/5155484

Will try to reproduce and fix this issue

@williamdes
Copy link
Member Author

On a MySQL 8, run SET GLOBAL character_set_server = 'utf8';
The warning Warning: #3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous. will be printed
Go to homepage:

image

@williamdes williamdes self-assigned this May 31, 2021
@williamdes williamdes modified the milestones: 5.1.2, 5.1.1 May 31, 2021
@williamdes williamdes moved this from Not reproduced to Reproduced in issues May 31, 2021
williamdes added a commit that referenced this issue May 31, 2021
Signed-off-by: William Desportes <williamdes@wdes.fr>
williamdes added a commit that referenced this issue May 31, 2021
Signed-off-by: William Desportes <williamdes@wdes.fr>
williamdes added a commit that referenced this issue May 31, 2021
Signed-off-by: William Desportes <williamdes@wdes.fr>
issues automation moved this from Reproduced to Closed May 31, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 1, 2022
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 help wanted
Projects
issues
  
Closed
Development

No branches or pull requests

1 participant