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

Status - Advisor error #15380

Closed
tm8544 opened this issue Jul 9, 2019 · 4 comments
Closed

Status - Advisor error #15380

tm8544 opened this issue Jul 9, 2019 · 4 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

@tm8544
Copy link

tm8544 commented Jul 9, 2019

5.0.0-alpha1

Select Status and then Advisor

Result:
Error in processing request
Error code 500
Error text Internal Server Error (rejected)

Expected result:
Advisory report

PHP logs the following error (server name replaced with xxxx)
PHP Fatal error: Uncaught TypeError: trim() expects parameter 1 to be string, int given in xxxxxxxxxxxxxxxxxx\libraries\classes\SysInfoWINNT.php:88\nStack trace:\n#0 xxxxxxxxxxxxxxxx\libraries\classes\SysInfoWINNT.php(88): trim(2048)\n#1 xxxxxxxxxxxxxxxxxxxxxxxxxx\libraries\classes\SysInfoWINNT.php(116): PhpMyAdmin\SysInfoWINNT->_getWMI('Win32_PageFileU...')\n#2 xxxxxxxxxxxxxxxxxxxxxxx\libraries\classes\Advisor.php(229): PhpMyAdmin\SysInfoWINNT->memory()\n#3 xxxxxxxxxxxxxxxxxxxxxxxxxx\libraries\classes\Controllers\Server\Status\AdvisorController.php(53): PhpMyAdmin\Advisor->run()\n#4 xxxxxxxxxxxxxxxxxxx\server_status_advisor.php(33): PhpMyAdmin\Controllers\Server\Status\AdvisorController->index()\n#5 {main}\n thrown in xxxxxxxxxxxxxxxxxxxxxxxx\libraries\classes\SysInfoWINNT.php on line 88

Server configuration

  • Operating system: Windows 10 (1903) x64
  • Web server: Apache 2.4.39 x64
  • Database version: MySQL 8.0.16
  • PHP version: 7.3.7
  • phpMyAdmin version: 5.0.0-alpha1
@tm8544
Copy link
Author

tm8544 commented Jul 9, 2019

This propably relates to #14245

@williamdes williamdes added the Bug A problem or regression with an existing feature label Jul 9, 2019
@williamdes williamdes added this to Needs triage in issues via automation Jul 9, 2019
@williamdes williamdes moved this from Needs triage to High priority in issues Jul 10, 2019
@ibennetch ibennetch added this to the 5.0.0 milestone Jul 11, 2019
@Tithugues
Copy link
Contributor

@tm8544 , would it be please possible that you try the branch used in this PR: #15456 to see if you still have the error?

Thank you.

@tm8544
Copy link
Author

tm8544 commented Aug 22, 2019

I tested the branch you mentioned, and it clears #15380
#14245 remains still.

@Tithugues
Copy link
Contributor

@tm8544 , yes, these are 2 really different issues.

@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 Aug 23, 2019
@williamdes williamdes changed the title 5.0.0-alpha1 Status - Advisor error Status - Advisor error Aug 29, 2019
@williamdes williamdes modified the milestones: 5.0.0, 4.9.1 Aug 29, 2019
@williamdes williamdes self-assigned this Aug 29, 2019
williamdes added a commit that referenced this issue Aug 29, 2019
Fixes: #15380
Pull-request: #15456

Signed-off-by: William Desportes <williamdes@wdes.fr>
issues automation moved this from High priority to Closed Aug 29, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 29, 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

4 participants