phpMyAdmin showing the foreach() error

After upgrading the cPanel version, the following error is occur when we are browsing the phpMyAdmin.

Warning: Invalid argument supplied for foreach() in /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php on line 52

Warning: Invalid argument supplied for foreach() in /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php on line 155

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

To resolve the above error, we can simply enable the output_buffering in the following file.

/usr/local/cpanel/3rdparty/lib/php.ini

Change the “output_buffering” from Off to On.

 

Be Sociable, Share!