PHPMYADMIN I can’t log in. Constant PhpMyAdminE_STRICT is deprecated

This error is displayed when logging in to phpmyadmin.

Deprecation Notice in ./libraries/classes/Url.php#221
http_build_query(): Passing null to parameter #2 ($numeric_prefix) of
type string is deprecated
Backtrace
./libraries/classes/Url.php#221: http_build_query(
array,
NULL,
string ‘&’,
)
./libraries/classes/Header.php#231: PhpMyAdminUrl::getCommonRaw()
./libraries/classes/Header.php#282: PhpMyAdminHeader->getJsParams()
./libraries/classes/Header.php#214: PhpMyAdminHeader->getJsParamsCode()
./libraries/classes/Header.php#142: PhpMyAdminHeader->_addDefaultScripts()
./libraries/classes/Response.php#100: PhpMyAdminHeader->__construct()
./libraries/classes/Response.php#134: PhpMyAdminResponse->__construct()
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#87:
PhpMyAdminResponse::getInstance()
./libraries/classes/Plugins/AuthenticationPlugin.php#247:
PhpMyAdminPluginsAuthAuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdminPluginsAuthenticationPlugin->authenticate()
./index.php#27: require_once(./libraries/common.inc.php)
Deprecation Notice in ./../../php/Twig/Loader/FilesystemLoader.php#40
realpath(): Passing null to parameter #1 ($path) of type string is deprecated
Backtrace
FilesystemLoader.php#40: realpath(NULL)
./libraries/classes/Template.php#61: TwigLoaderFilesystemLoader->__construct(string ‘templates/’)
./libraries/classes/Template.php#102: PhpMyAdminTemplate->__construct(string ‘login/header’)
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111: PhpMyAdminTemplate::get(string ‘login/header’)
./libraries/classes/Plugins/AuthenticationPlugin.php#247: PhpMyAdminPluginsAuthAuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdminPluginsAuthenticationPlugin->authenticate()
./index.php#27: require_once(./libraries/common.inc.php)
Deprecation Notice in ./libraries/classes/Url.php#221
http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated
Backtrace
./libraries/classes/Url.php#221: http_build_query(
array,
NULL,
string ‘&’,
)
./libraries/classes/Url.php#169: PhpMyAdminUrl::getCommonRaw(
array,
string ‘?’,
)
./libraries/classes/Core.php#749: PhpMyAdminUrl::getCommon(array)
./../../../../../../var/lib/phpmyadmin/tmp/twig/91/91211ba25b99b1424ac2dd7e72af0c0b7ef97ed8e59a13e24b13143b76ee353b.php#40:
PhpMyAdminCore::linkURL(string ‘https://www.phpmyadmin.net/’)
Template.php#407: __TwigTemplate_dd64914d2ea903cb7e97449fb1a49d0d1b0386bce92be9283cbffd5f6c826508->doDisplay(
array,
array,
)
Template.php#380: TwigTemplate->displayWithErrorHandling(
array,
array,
)
Template.php#392: TwigTemplate->display(array)
TemplateWrapper.php#45: TwigTemplate->render(
array,
array,
)
./libraries/classes/Template.php#133: TwigTemplateWrapper->render(array)
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111:
PhpMyAdminTemplate->render(array)
./libraries/classes/Plugins/AuthenticationPlugin.php#247:
PhpMyAdminPluginsAuthAuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdminPluginsAuthenticationPlugin->authenticate()
./index.php#27: require_once(./libraries/common.inc.php)
Deprecation Notice in ./../../php/Twig/Node/Node.php#161
Return type of TwigNodeNode::count() should either be compatible with Countable::count(): int, or the
#[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Backtrace
autoload.php#369: require(./../../php/Twig/Node/Node.php)
{closure:/usr/share/php/Twig/autoload.php:6}(string ‘TwigNodeNode’)
TwigFilter.php#150: class_exists(string ‘TwigNodeNode’)
autoload.php#369: require(./../../php/Twig/TwigFilter.php)
CoreExtension.php#214: {closure:/usr/share/php/Twig/autoload.php:6}(string
‘TwigTwigFilter’)
ExtensionSet.php#433: TwigExtensionCoreExtension->getFilters()
ExtensionSet.php#423: TwigExtensionSet->initExtension()
ExtensionSet.php#184: TwigExtensionSet->initExtensions()
Environment.php#871: TwigExtensionSet->getFunction(string ‘Message_error’)
./../../../../../../var/lib/phpmyadmin/tmp/twig/91/91211ba25b99b1424ac2dd7e72af0c0b7ef97ed8e59a13e24b13143b76ee353b.php#55:
TwigEnvironment->getFunction(string ‘Message_error’)
Template.php#407: __TwigTemplate_dd64914d2ea903cb7e97449fb1a49d0d1b0386bce92be9283cbffd5f6c826508->doDisplay(
array,
array,
)
Template.php#380: TwigTemplate->displayWithErrorHandling(
array,
array,
)
Template.php#392: TwigTemplate->display(array)
TemplateWrapper.php#45: TwigTemplate->render(
array,
array,
)
./libraries/classes/Template.php#133: TwigTemplateWrapper->render(array)
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111:
PhpMyAdminTemplate->render(array)
./libraries/classes/Plugins/AuthenticationPlugin.php#247:
PhpMyAdminPluginsAuthAuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdminPluginsAuthenticationPlugin->authenticate()
./index.php#27: require_once(./libraries/common.inc.php)
Deprecation Notice in ./../../php/Twig/Node/Node.php#166
Return type of TwigNodeNode::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the
#[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Backtrace
autoload.php#369: require(./../../php/Twig/Node/Node.php)
{closure:/usr/share/php/Twig/autoload.php:6}(string ‘TwigNodeNode’)
TwigFilter.php#150: class_exists(string ‘TwigNodeNode’)
autoload.php#369: require(./../../php/Twig/TwigFilter.php)
CoreExtension.php#214: {closure:/usr/share/php/Twig/autoload.php:6}(string
‘TwigTwigFilter’)
ExtensionSet.php#433: TwigExtensionCoreExtension->getFilters()
ExtensionSet.php#423: TwigExtensionSet->initExtension()
ExtensionSet.php#184: TwigExtensionSet->initExtensions()
Environment.php#871: TwigExtensionSet->getFunction(string ‘Message_error’)
./../../../../../../var/lib/phpmyadmin/tmp/twig/91/91211ba25b99b1424ac2dd7e72af0c0b7ef97ed8e59a13e24b13143b76ee353b.php#55:
TwigEnvironment->getFunction(string ‘Message_error’)
Template.php#407: __TwigTemplate_dd64914d2ea903cb7e97449fb1a49d0d1b0386bce92be9283cbffd5f6c826508->doDisplay(
array,
array,
)
Template.php#380: TwigTemplate->displayWithErrorHandling(
array,
array,
)
Template.php#392: TwigTemplate->display(array)
TemplateWrapper.php#45: TwigTemplate->render(
array,
array,
)
./libraries/classes/Template.php#133: TwigTemplateWrapper->render(array)
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111:
PhpMyAdminTemplate->render(array)
./libraries/classes/Plugins/AuthenticationPlugin.php#247:
PhpMyAdminPluginsAuthAuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdminPluginsAuthenticationPlugin->authenticate()
./index.php#27: require_once(./libraries/common.inc.php)

And then this one. And I can’t do anything.

Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.

Constant PhpMyAdminE_STRICT is deprecated

1