"Deprecation Notice" message on login page of phpMyAdmin Topic is solved

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
baijianpeng
Posts: 289
Joined: Tue Dec 22, 2015 2:06 pm

"Deprecation Notice" message on login page of phpMyAdmin

Postby baijianpeng » Tue Dec 13, 2016 6:40 am

Recently I completely re-installed my VPS, used Ubuntu 16.04 64-bit as the operating system, then installed VestaCP 0.9.8-17.

Today when I tried to login phpMyAdmin, I saw following messages below the login form:

Deprecation Notice in ./../php/php-gettext/streams.php#48
Methods with the same name as their class will not be constructors in a future version of PHP; StringReader has a deprecated constructor

Backtrace

./../php/php-gettext/gettext.inc#41: require()
./libraries/select_lang.lib.php#477: require_once(./../php/php-gettext/gettext.inc)
./libraries/common.inc.php#569: require(./libraries/select_lang.lib.php)
./index.php#12: require_once(./libraries/common.inc.php)
Deprecation Notice in ./../php/php-gettext/streams.php#84
Methods with the same name as their class will not be constructors in a future version of PHP; FileReader has a deprecated constructor

Backtrace

./../php/php-gettext/gettext.inc#41: require()
./libraries/select_lang.lib.php#477: require_once(./../php/php-gettext/gettext.inc)
./libraries/common.inc.php#569: require(./libraries/select_lang.lib.php)
./index.php#12: require_once(./libraries/common.inc.php)
Deprecation Notice in ./../php/php-gettext/streams.php#145
Methods with the same name as their class will not be constructors in a future version of PHP; CachedFileReader has a deprecated constructor

Backtrace

./../php/php-gettext/gettext.inc#41: require()
./libraries/select_lang.lib.php#477: require_once(./../php/php-gettext/gettext.inc)
./libraries/common.inc.php#569: require(./libraries/select_lang.lib.php)
./index.php#12: require_once(./libraries/common.inc.php)
Deprecation Notice in ./../php/php-gettext/gettext.php#36
Methods with the same name as their class will not be constructors in a future version of PHP; gettext_reader has a deprecated constructor

Backtrace

./../php/php-gettext/gettext.inc#42: require()
./libraries/select_lang.lib.php#477: require_once(./../php/php-gettext/gettext.inc)
./libraries/common.inc.php#569: require(./libraries/select_lang.lib.php)
./index.php#12: require_once(./libraries/common.inc.php)


What does this mean?

How to solve this problem?

Thank you.

baijianpeng
Posts: 289
Joined: Tue Dec 22, 2015 2:06 pm

Re: "Deprecation Notice" message on login page of phpMyAdmin  Topic is solved

Postby baijianpeng » Tue Dec 13, 2016 6:47 am

Ok, this issue solved easily with editing the php.ini file :

file path: /etc/php/7.0/apache2/php.ini

Change error_reporting value to:

Code: Select all

error_reporting = ~E_DEPRECATED & E_ALL.


Then restart Apache:

Code: Select all

# systemctl restart apache2


Well, the "Deprecation Notice" message no longer shown there.

nside
Posts: 3
Joined: Wed Jun 14, 2017 11:52 pm

Re: "Deprecation Notice" message on login page of phpMyAdmin

Postby nside » Sun Jun 18, 2017 10:01 pm



Return to “Database Server”



Who is online

Users browsing this forum: No registered users and 0 guests