Ok if you want to get rid of those nasty notices you have basically 4 options. You should note that the notices are caused by the oldish version of PHPMyAdmin that still uses some deprecated code, mainly old constructor definition statements. But they don’t affect PHPMyAdmin as those statements still function but they should be changes as they will not work for eternity.
The fist one(recommended)
So the first one is to just turn off the notices for the PHPMyAdmin folder. You can do that by using the following commands:
cd /usr/share/phpmyadmin sudo touch .user.ini echo "error_reporting = 0" | sudo tee -a .user.ini sudo service nginx restart
change error_reporting in php.ini, View full article