We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SHOW PROCESSLIST; throws fatal error in latest version (5.1.2):
SHOW PROCESSLIST;
PHP Fatal error: Uncaught TypeError: Unsupported operand types: null + array in .../libraries/classes/Display/Results.php:2589
This seems to be caused by initializing $editCopyUrlParams = null; and later trying to append more elements without assigning a value:
$editCopyUrlParams = null;
Results.php, Line 2589:
'params' => $editCopyUrlParams + ['default_action' => 'update'],
Steps to reproduce the behavior:
An internal server error (500) is shown
Showing the process list's result set
For a quick fix you can check the value before joining arrays in every 'params' section:
'params' => ($editCopyUrlParams == null) ? ['default_action' => 'update'] : $editCopyUrlParams + ['default_action' => 'update'],
The text was updated successfully, but these errors were encountered:
Hi @michael-gilch Thank you for the issue, I can confirm it on our demo server and in our static analysis tool reports.
Sorry, something went wrong.
Add ChangeLog entries for #17331 and #17315
bc32e25
Signed-off-by: William Desportes <williamdes@wdes.fr>
Ref #17315 - Update the psalm baseline
c0668f9
3bd3ee0
williamdes
No branches or pull requests
Describe the bug
SHOW PROCESSLIST;throws fatal error in latest version (5.1.2):This seems to be caused by initializing
$editCopyUrlParams = null;and later trying to append more elements without assigning a value:Results.php, Line 2589:
To Reproduce
Steps to reproduce the behavior:
An internal server error (500) is shown
Expected behavior
Showing the process list's result set
Server configuration
Client configuration
Additional context
For a quick fix you can check the value before joining arrays in every 'params' section:
The text was updated successfully, but these errors were encountered: