The best way to turn off Phpmyadmin errors is to go go config.inc.php and set (or comment out ie removing the // lines in front of the value, which is set to “ask” by default.)

$cfg['SendErrorReports'] = 'never';

Hit save and that’s it.

More info https://docs.phpmyadmin.net/en/latest/config.html#cfg_SendErrorReports