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
I get this error when using the setup script. It may be triggered through other means as I have several of these in my logs, or it could all be from the same error. To reproduce, go in the setup script, press the "New server" button, and click "Apply" to use the defaults.
PHP Fatal error: Uncaught TypeError: Argument 1 passed to PhpMyAdmin\\CheckUserPrivileges::__construct() must be an instance of PhpMyAdmin\\DatabaseInterface, null given, called in /var/www/pma-dev/fork/QA_4_8/libraries/check_user_privileges.inc.php on line 14 and defined in /var/www/pma-dev/fork/QA_4_8/libraries/classes/CheckUserPrivileges.php:30
Stack trace:
#0 /var/www/pma-dev/fork/QA_4_8/libraries/check_user_privileges.inc.php(14): PhpMyAdmin\\CheckUserPrivileges->__construct(NULL)
#1 /var/www/pma-dev/fork/QA_4_8/libraries/classes/Navigation/NavigationTree.php(20): require_once('/var/www/pma-de...')
#2 /var/www/pma-dev/fork/QA_4_8/vendor/composer/ClassLoader.php(444): include('/var/www/pma-de...')
#3 /var/www/pma-dev/fork/QA_4_8/vendor/composer/ClassLoader.php(322): Composer\\Autoload\\includeFile('/var/www/pma-de...')
#4 [internal function]: Composer\\Autoload\\ClassLoader->loadClass('PhpMyAdmin\\\\Navi...')
#5 /var/www/pma-dev/fork/QA_4_8/libraries/classes/Navigation/Navigation.php(52): spl_autoload_call('PhpMyAdmin\\\\Navi...')
# in /var/www/pma-dev/fork/QA_4_8/libraries/classes/CheckUserPrivileges.php on line 30, referer: http://192.168.1.10/pma-dev/fork/QA_4_8/setup/index.php?tab_hash=&check_page_refresh=1&token=WqR%7F%25JY%27a%5D%2BS%7Et%21X&page=servers&mode=add&token=WqR%7F%25JY%27a%5D%2BS%7Et%21X&submit=New+server
The text was updated successfully, but these errors were encountered:
getting error when in errorlog file first time setup on server with phpMyAdmin-4.8.1-all-languages
[07-Jun-2018 12:45:01 UTC] PHP Notice: Undefined index: dbi in /home/halotele/public_html/domains/domain.com/inhouse/PhMyAdmin/libraries/check_user_privileges.inc.php on line 14
[07-Jun-2018 12:45:01 UTC] PHP Catchable fatal error: Argument 1 passed to
PhpMyAdmin\CheckUserPrivileges::__construct() must be an instance of PhpMyAdmin\DatabaseInterface, null given, called in /home/halotele/public_html/domains/domain.com/inhouse/PhMyAdmin/libraries/check_user_privileges.inc.php on line 14 and defined in /home/halotele/public_html/domains/domain.com/inhouse/PhMyAdmin/libraries/classes/CheckUserPrivileges.php on line 30
@MauricioFauth Can you please fix this one ?, I would add an if (isset($GLOBALS['dbi'])) to all the contents of libraries/check_user_privileges.inc.php but I am not sure this is a good idea..
Using QA_4_8 or master.
I get this error when using the setup script. It may be triggered through other means as I have several of these in my logs, or it could all be from the same error. To reproduce, go in the setup script, press the "New server" button, and click "Apply" to use the defaults.
The text was updated successfully, but these errors were encountered: