Hi,
First, you don't post a message in a discussion that is more than twelve years old.
Secondly, you choose a title or subject related to the problem.
Third, the message is very clear: PhpMyAdmini 5.1.1 is not compatible with PHP 8.1.0.
So, you install a version of PhpMyAdmin compatible with PHP 8.1.0 => PhpMyAdmin 5.2.0.
This is very clearly indicated on :
https://wampserver.aviatechno.net/---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons