Warning - Cannot Modify Header Information Error in phpMyAdmin
Sometimes, when you try to modify a database in phpMyAdmin, you may get this error message when you try to execute the SQL query:
Warning: Invalid argument supplied for foreach() in /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php on line XX
Warning: Invalid argument supplied for foreach() in /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php on line XXX
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php:52) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/common.lib.php on line 1154
This is a known issue in cPanel which occurs when you access your cPanel via the Access cPanel Normally button in your Customer Area.
In other words, this issue appears when you access your cPanel using the cPanel proxy, i.e:
In order to avoid it, please access your cPanel via:
or using the Access cPanel Securely button in your Customer Area.