You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after copy a db over options. the 5.0.0-alpha1 locked me out with this fatal.error.
used the default options to copy it.
To Reproduce
Steps to reproduce the behavior:
Go to 'select a database'
Click on 'options'
Fill out 'new databse name'
Click on 'copy databse'
See error
Fatal error: Uncaught TypeError: htmlspecialchars() expects parameter 1 to be string, int given in /libraries/classes/Navigation/NavigationTree.php:787 Stack trace:
#0 /libraries/classes/Navigation/NavigationTree.php(787): htmlspecialchars(125612)
#1 /libraries/classes/Navigation/NavigationTree.php(856): PhpMyAdmin\Navigation\NavigationTree->groupNode(Object(PhpMyAdmin\Navigation\Nodes\Node))
#2 /libraries/classes/Navigation/NavigationTree.php(856): PhpMyAdmin\Navigation\NavigationTree->groupNode(Object(PhpMyAdmin\Navigation\Nodes\Node))
#3 /libraries/classes/Navigation/NavigationTree.php(690): PhpMyAdmin\Navigation\NavigationTree->groupNode(Object(PhpMyAdmin\Navigation\Nodes\NodeDatabaseContainer))
#4 /rp-h in /libraries/classes/Navigation/NavigationTree.php on line 787
Server configuration
Operating system: gentoo
Web server: apache
Database version: 5.7
PHP version: 7.3.2
phpMyAdmin version: 5.0.0-alpha1
Client configuration
Browser: chrome
Operating system: osx
The text was updated successfully, but these errors were encountered:
Reproduced using this setup, the issue only occurs when you have groups
williamdes
changed the title
Copy Database - Uncaught TypeError: htmlspecialchars()
Uncaught TypeError: htmlspecialchars() in NavigationTree
Oct 30, 2019
Ref: 128d3a0
Yes, the commit comes from QA 4.9 and the ChangeLog is QA 5.0
This is because 4.9 users are not affected but they can still have the fix.
Signed-off-by: William Desportes <williamdes@wdes.fr>
Describe the bug
after copy a db over options. the 5.0.0-alpha1 locked me out with this fatal.error.
used the default options to copy it.
To Reproduce
Steps to reproduce the behavior:
Server configuration
Client configuration
The text was updated successfully, but these errors were encountered: