Header Already Sent Error Log
add_action('activated_plugin','save_error'); function save_error(){ file_put_contents(ABSPATH. 'wp-content/error_activation.html', ob_get_contents()); }