-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
The plugins are not working with the latest adminer:5.2.1-standalone image.
Enable the login-servers plugin using:
Dockerfile
FROM adminer:5.2.1-standalone
RUN cp /var/www/html/plugins/login-servers.php /var/www/html/plugins-enabled/
$ docker build -t adminer:dev .
$ docker run -it --rm -p 8080:8080 adminer:devError:
GET /favicon.ico - Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, int given in /var/www/html/adminer.php:1142
Stack trace:
#0 /var/www/html/adminer.php(1142): method_exists(1, 'name')
#1 /var/www/html/index.php(30): Adminer\Plugins->__construct(Array)
#2 /var/www/html/index.php(53): docker\adminer_object()
#3 /var/www/html/adminer.php(1151): adminer_object()
#4 /var/www/html/index.php(56): require('/var/www/html/a...')
#5 {main}
thrown in /var/www/html/adminer.php on line 1142
The prior fix attempt didn't fix the problem: #207
Metadata
Metadata
Assignees
Labels
No labels