-1

I am Unable to access my WordPress admin panel. I have tried all the solutions like changing passwords, config.php file as well as functions.php. I have even tried to deactivate all plugins and then activated them and it has a memory limit also around 256M. While debugging I have found this error

Warning: Cannot modify header information - headers already sent by (output started at /home/ausmoulding/public_html/new/wp-content/themes/x/framework/functions/global/plugins/woocommerce.php:196) in /home/ausmoulding/public_html/new/wp-login.php on line 390

It's in the Woocommerce plugin,but I have deleted that plugin and installed a fresh one still it gives me this error.

pepper
  • 9
  • 6
  • yes do one thing try to change the theme. If you have fresh instance then change the existing if not then change with default theme – Pardeep Pathania Aug 09 '16 at 12:41

2 Answers2

0

In a nutshell, the plugin has been coded incorrectly and is trying to perform a redirect after output has been written to the browser HTTP header.

Here's some more info about it in another question: How to fix "Headers already sent" error in PHP

Either stop using the plugin, or contact the developers.

Community
  • 1
  • 1
Lee
  • 4,187
  • 6
  • 25
  • 71
0
add_action('init', 'app_output_buffer');
function app_output_buffer() {
    ob_start();
} // soi_output_buffer 

Could you please add above code in your functions.php and try to login?

Purvik Dhorajiya
  • 4,662
  • 3
  • 34
  • 43