Hello
Deepak
I am running PHP 8.0.24 on Ubuntu 20.04.5 LTS.
When I access "phpmyadmin", I get the following error:
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: PhpMyAdmin\Url::getCommonRaw()
./libraries/classes/Header.php#282: PhpMyAdmin\Header->getJsParams()
./libraries/classes/Header.php#214: PhpMyAdmin\Header->getJsParamsCode()
./libraries/classes/Header.php#142: PhpMyAdmin\Header->_addDefaultScripts()
./libraries/classes/Response.php#100: PhpMyAdmin\Header->__construct()
./libraries/classes/Response.php#134: PhpMyAdmin\Response->__construct()
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#87: PhpMyAdmin\Response::getInstance()
./libraries/classes/Plugins/AuthenticationPlugin.php#247: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./sql.php#21: require_once(./libraries/common.inc.php)
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: PhpMyAdmin\Url::getCommonRaw()
./libraries/classes/Header.php#282: PhpMyAdmin\Header->getJsParams()
./libraries/classes/Header.php#214: PhpMyAdmin\Header->getJsParamsCode()
./libraries/classes/Header.php#142: PhpMyAdmin\Header->_addDefaultScripts()
./libraries/classes/Response.php#100: PhpMyAdmin\Header->__construct()
./libraries/classes/Response.php#134: PhpMyAdmin\Response->__construct()
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#87: PhpMyAdmin\Response::getInstance()
./libraries/classes/Plugins/AuthenticationPlugin.php#247: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./sql.php#21: 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: Twig\Loader\FilesystemLoader->__construct(string 'templates/')
./libraries/classes/Template.php#102: PhpMyAdmin\Template->__construct(string 'login/header')
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111: PhpMyAdmin\Template::get(string 'login/header')
./libraries/classes/Plugins/AuthenticationPlugin.php#247: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./sql.php#21: require_once(./libraries/common.inc.php)
realpath(): Passing null to parameter #1 ($path) of type string is deprecated
Backtrace
FilesystemLoader.php#40: realpath(NULL)
./libraries/classes/Template.php#61: Twig\Loader\FilesystemLoader->__construct(string 'templates/')
./libraries/classes/Template.php#102: PhpMyAdmin\Template->__construct(string 'login/header')
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111: PhpMyAdmin\Template::get(string 'login/header')
./libraries/classes/Plugins/AuthenticationPlugin.php#247: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./sql.php#21: 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: PhpMyAdmin\Url::getCommonRaw(
array,
string '?',
)
./libraries/classes/Core.php#749: PhpMyAdmin\Url::getCommon(array)
./../../../../../../var/lib/phpmyadmin/tmp/twig/c9/c94c1671fb004531667ebf072ed46de7ba2ddeaf7d4a9308ebfd314031561959.php#40: PhpMyAdmin\Core::linkURL(string 'https://www.phpmyadmin.net/')
Template.php#407: __TwigTemplate_12c2fcdc4fa327171114b58777bf8ec7be234f8dbee12d3bffdf37d9e326a135->doDisplay(
array,
array,
)
Template.php#380: Twig\Template->displayWithErrorHandling(
array,
array,
)
Template.php#392: Twig\Template->display(array)
TemplateWrapper.php#45: Twig\Template->render(
array,
array,
)
./libraries/classes/Template.php#133: Twig\TemplateWrapper->render(array)
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111: PhpMyAdmin\Template->render(array)
./libraries/classes/Plugins/AuthenticationPlugin.php#247: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./sql.php#21: require_once(./libraries/common.inc.php)
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: PhpMyAdmin\Url::getCommonRaw(
array,
string '?',
)
./libraries/classes/Core.php#749: PhpMyAdmin\Url::getCommon(array)
./../../../../../../var/lib/phpmyadmin/tmp/twig/c9/c94c1671fb004531667ebf072ed46de7ba2ddeaf7d4a9308ebfd314031561959.php#40: PhpMyAdmin\Core::linkURL(string 'https://www.phpmyadmin.net/')
Template.php#407: __TwigTemplate_12c2fcdc4fa327171114b58777bf8ec7be234f8dbee12d3bffdf37d9e326a135->doDisplay(
array,
array,
)
Template.php#380: Twig\Template->displayWithErrorHandling(
array,
array,
)
Template.php#392: Twig\Template->display(array)
TemplateWrapper.php#45: Twig\Template->render(
array,
array,
)
./libraries/classes/Template.php#133: Twig\TemplateWrapper->render(array)
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111: PhpMyAdmin\Template->render(array)
./libraries/classes/Plugins/AuthenticationPlugin.php#247: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./sql.php#21: require_once(./libraries/common.inc.php)
Deprecation Notice in ./../../php/Twig/Node/Node.php#161
Return type of Twig\Node\Node::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}(string 'Twig\\Node\\Node')
TwigFilter.php#150: class_exists(string 'Twig\\Node\\Node')
autoload.php#369: require(./../../php/Twig/TwigFilter.php)
CoreExtension.php#214: {closure}(string 'Twig\\TwigFilter')
ExtensionSet.php#433: Twig\Extension\CoreExtension->getFilters()
ExtensionSet.php#423: Twig\ExtensionSet->initExtension()
ExtensionSet.php#184: Twig\ExtensionSet->initExtensions()
Environment.php#871: Twig\ExtensionSet->getFunction(string 'Message_error')
./../../../../../../var/lib/phpmyadmin/tmp/twig/c9/c94c1671fb004531667ebf072ed46de7ba2ddeaf7d4a9308ebfd314031561959.php#55: Twig\Environment->getFunction(string 'Message_error')
Template.php#407: __TwigTemplate_12c2fcdc4fa327171114b58777bf8ec7be234f8dbee12d3bffdf37d9e326a135->doDisplay(
array,
array,
)
Template.php#380: Twig\Template->displayWithErrorHandling(
array,
array,
)
Template.php#392: Twig\Template->display(array)
TemplateWrapper.php#45: Twig\Template->render(
array,
array,
)
./libraries/classes/Template.php#133: Twig\TemplateWrapper->render(array)
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111: PhpMyAdmin\Template->render(array)
./libraries/classes/Plugins/AuthenticationPlugin.php#247: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./sql.php#21: require_once(./libraries/common.inc.php)
Return type of Twig\Node\Node::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}(string 'Twig\\Node\\Node')
TwigFilter.php#150: class_exists(string 'Twig\\Node\\Node')
autoload.php#369: require(./../../php/Twig/TwigFilter.php)
CoreExtension.php#214: {closure}(string 'Twig\\TwigFilter')
ExtensionSet.php#433: Twig\Extension\CoreExtension->getFilters()
ExtensionSet.php#423: Twig\ExtensionSet->initExtension()
ExtensionSet.php#184: Twig\ExtensionSet->initExtensions()
Environment.php#871: Twig\ExtensionSet->getFunction(string 'Message_error')
./../../../../../../var/lib/phpmyadmin/tmp/twig/c9/c94c1671fb004531667ebf072ed46de7ba2ddeaf7d4a9308ebfd314031561959.php#55: Twig\Environment->getFunction(string 'Message_error')
Template.php#407: __TwigTemplate_12c2fcdc4fa327171114b58777bf8ec7be234f8dbee12d3bffdf37d9e326a135->doDisplay(
array,
array,
)
Template.php#380: Twig\Template->displayWithErrorHandling(
array,
array,
)
Template.php#392: Twig\Template->display(array)
TemplateWrapper.php#45: Twig\Template->render(
array,
array,
)
./libraries/classes/Template.php#133: Twig\TemplateWrapper->render(array)
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111: PhpMyAdmin\Template->render(array)
./libraries/classes/Plugins/AuthenticationPlugin.php#247: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./sql.php#21: require_once(./libraries/common.inc.php)
Deprecation Notice in ./../../php/Twig/Node/Node.php#166
Return type of Twig\Node\Node::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}(string 'Twig\\Node\\Node')
TwigFilter.php#150: class_exists(string 'Twig\\Node\\Node')
autoload.php#369: require(./../../php/Twig/TwigFilter.php)
CoreExtension.php#214: {closure}(string 'Twig\\TwigFilter')
ExtensionSet.php#433: Twig\Extension\CoreExtension->getFilters()
ExtensionSet.php#423: Twig\ExtensionSet->initExtension()
ExtensionSet.php#184: Twig\ExtensionSet->initExtensions()
Environment.php#871: Twig\ExtensionSet->getFunction(string 'Message_error')
./../../../../../../var/lib/phpmyadmin/tmp/twig/c9/c94c1671fb004531667ebf072ed46de7ba2ddeaf7d4a9308ebfd314031561959.php#55: Twig\Environment->getFunction(string 'Message_error')
Template.php#407: __TwigTemplate_12c2fcdc4fa327171114b58777bf8ec7be234f8dbee12d3bffdf37d9e326a135->doDisplay(
array,
array,
)
Template.php#380: Twig\Template->displayWithErrorHandling(
array,
array,
)
Template.php#392: Twig\Template->display(array)
TemplateWrapper.php#45: Twig\Template->render(
array,
array,
)
./libraries/classes/Template.php#133: Twig\TemplateWrapper->render(array)
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111: PhpMyAdmin\Template->render(array)
./libraries/classes/Plugins/AuthenticationPlugin.php#247: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./sql.php#21: require_once(./libraries/common.inc.php)
Return type of Twig\Node\Node::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}(string 'Twig\\Node\\Node')
TwigFilter.php#150: class_exists(string 'Twig\\Node\\Node')
autoload.php#369: require(./../../php/Twig/TwigFilter.php)
CoreExtension.php#214: {closure}(string 'Twig\\TwigFilter')
ExtensionSet.php#433: Twig\Extension\CoreExtension->getFilters()
ExtensionSet.php#423: Twig\ExtensionSet->initExtension()
ExtensionSet.php#184: Twig\ExtensionSet->initExtensions()
Environment.php#871: Twig\ExtensionSet->getFunction(string 'Message_error')
./../../../../../../var/lib/phpmyadmin/tmp/twig/c9/c94c1671fb004531667ebf072ed46de7ba2ddeaf7d4a9308ebfd314031561959.php#55: Twig\Environment->getFunction(string 'Message_error')
Template.php#407: __TwigTemplate_12c2fcdc4fa327171114b58777bf8ec7be234f8dbee12d3bffdf37d9e326a135->doDisplay(
array,
array,
)
Template.php#380: Twig\Template->displayWithErrorHandling(
array,
array,
)
Template.php#392: Twig\Template->display(array)
TemplateWrapper.php#45: Twig\Template->render(
array,
array,
)
./libraries/classes/Template.php#133: Twig\TemplateWrapper->render(array)
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111: PhpMyAdmin\Template->render(array)
./libraries/classes/Plugins/AuthenticationPlugin.php#247: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./sql.php#21: require_once(./libraries/common.inc.php)
Any ideas?
Deepak
"The greatness of a nation can be judged by the way its animals are treated - Mahatma Gandhi"
+91 73500 12833
deicool@xxxxxxxxx
Facebook: https://www.facebook.com/deicool
LinkedIn: www.linkedin.com/in/deicool
deicool@xxxxxxxxx
Facebook: https://www.facebook.com/deicool
LinkedIn: www.linkedin.com/in/deicool
"Plant a Tree, Go Green"
Make In India : http://www.makeinindia.com/home