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

5.0.0-rc1 - Show Processlist triggers exception #15677

Closed
following5 opened this issue Dec 20, 2019 · 0 comments
Closed

5.0.0-rc1 - Show Processlist triggers exception #15677

following5 opened this issue Dec 20, 2019 · 0 comments
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
Projects
Milestone

Comments

@following5
Copy link
Contributor

Describe the bug

The command show processlist, entered in any SQL tab on my phpMyAdmin 5.0 installation, produces this:

Fatal error: Uncaught TypeError: Argument 1 passed to PhpMyAdmin\DatabaseInterface::getKillQuery() must be of the type int, string given, called in C:\www\pma5\libraries\classes\Display\Results.php on line 3344 and defined in C:\www\pma5\libraries\classes\DatabaseInterface.php:3019

Stack trace:
#0 C:\www\pma5\libraries\classes\Display\Results.php(3344): PhpMyAdmin\DatabaseInterface->getKillQuery('1')
#1 C:\www\pma5\libraries\classes\Display\Results.php(2560): PhpMyAdmin\Display\Results->_getDeleteAndKillLinks('.`Id` = 1 AND ....', false, 'show processlis...', 'kp', Array)
#2 C:\www\pma5\libraries\classes\Display\Results.php(4298): PhpMyAdmin\Display\Results->_getTableBody(Object(mysqli_result), Array, Array, Array, false)
#3 C:\www\pma5\libraries\classes\Sql.php(1666): PhpMyAdmin\Display\Results->getTable(Object(mysqli_result), Array, Array, false) #4 C:\www\pma5\libraries\classes\Sql.php(2002): PhpMyAdmin\Sql->getHtmlForSqlQueryResultsTable(Object(PhpMyAdmin\Display\Results), './themes/pmahom...', NULL, Array, false, 11, in C:\www\pma5\libraries\classes\DatabaseInterface.php on line 3019

Expected behavior

Show the process list

Server configuration

  • Operating system: Windows 7 SP1 32bit
  • Web server: Apache 2.4.41
  • Database version: MariaDB 10.4.11
  • PHP version: 7.4.1
  • phpMyAdmin version: 5.0.0-rc1

Client configuration

  • Browser: Firefox 71.0, Chrome 78.0.3904.108
  • Operating system: same system
@williamdes williamdes added the Bug A problem or regression with an existing feature label Dec 21, 2019
@williamdes williamdes added this to the 5.0.0 milestone Dec 21, 2019
@williamdes williamdes added this to Needs triage in issues via automation Dec 21, 2019
@williamdes williamdes moved this from Needs triage to High priority in issues Dec 21, 2019
@williamdes williamdes self-assigned this Dec 21, 2019
williamdes added a commit that referenced this issue Dec 21, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
issues automation moved this from High priority to Closed Dec 21, 2019
@williamdes williamdes added the has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete label Dec 21, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 21, 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 has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Projects
issues
  
Closed
Development

No branches or pull requests

2 participants