This is a common issue in WordPress , and it’s showing Because you have gotten some white space (spaces, newline) before the opening PHP tag or after the closing PHP tag in .php Files.We have many option for Fix this issue:

Solution 1

You can make a php.ini file in the Public_html folder and add the following line in it:

php.ini

1

buffer_output=on;

if php.ini file not resolve this issue, You can make .user.ini file in public_html folder and add following line in it:
buffer_output = on;

After that check your site issue resolve or not.

Solution 2

You should check for any empty lines at the end of your .php files.Simply remove the empty line at the end of your script( after the final “?>” or “php>” string). After that check your site issue resolve or not.

Solution 3

Deactivate all Plugins and check issue resolve or not , if issue is resolve , then activate plugin one by one and check frontend , by this step you will find out which plguin generate this Waring, this plugin replace with new copy of plugin Download form wordpress.org

Categories

Help4cms is an online resource of WordPress and Magento Tutorial and tricks For Professional WordPress and Magento Developers, with easy to understand and help you take your knowledge to the next higher level.