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

TypeError: PhpMyAdmin\Index::hasColumn(): Argument #1 ($column) must be of type string, int given #18275

Closed
liviuconcioiu opened this issue Mar 19, 2023 · 0 comments · Fixed by #18279
Assignees
Labels
Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Milestone

Comments

@liviuconcioiu
Copy link
Contributor

Describe the bug

TypeError: PhpMyAdmin\Index::hasColumn(): Argument #1 ($column) must be of type string, int given, called in /home/demo/.pma-demo/master/libraries/classes/DatabaseInterface.php on line 915

Column name doesn't allow single numbers.

To Reproduce

Steps to reproduce the behavior:

  1. Create a table
  2. Change column to 0, 1 or 3
  3. See error

Expected behavior

Columns should allow single numbers.

Screenshots

19.03.2023_03.09.04_REC.mp4

Server configuration

  • phpMyAdmin version: 6.0.0-dev
kamil-tekiela added a commit to kamil-tekiela/phpmyadmin that referenced this issue Mar 19, 2023
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
@MauricioFauth MauricioFauth self-assigned this Mar 19, 2023
@williamdes williamdes added Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete labels Mar 19, 2023
@williamdes williamdes added this to the 6.0.0 milestone Mar 19, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 19, 2024
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 has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants