Skip to content
Discussion options

You must be logged in to vote

in my opinion: The error happens because AdminerLoginServers expects the first argument
to be an array of servers, but you are passing a string.

AdminerLoginServers is designed to receive ALL servers in one array,
not one server per plugin instance.

Instead of creating multiple AdminerLoginServers objects, you should
create only one and pass an array like this:

'MySQL 5', '192.168.200.30:3320' => 'MySQL 8', ]) ]; This will show a server dropdown on the login page and fix the TypeError. Hope this helps for you :>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vrana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants