Warning message when using reset buttons
When I use the "reset section / reset all" option I receive the following warnings:
Warning: Cannot modify header information - headers already sent by (output started at C:\Server\Apache2\htdocs\wordpress_test\wp-content\themes\clean\framework\ReduxCore\framework.php:1409) in C:\Server\Apache2\htdocs\wordpress_test\wp-includes\option.php on line 563
Warning: Cannot modify header information - headers already sent by (output started at C:\Server\Apache2\htdocs\wordpress_test\wp-content\themes\clean\framework\ReduxCore\framework.php:1409) in C:\Server\Apache2\htdocs\wordpress_test\wp-includes\option.php on line 564
I am using v3.1.8.18.
What exactly is the code for lines 563 and 564 for options.php?
The warning points to a wordpress core file, option.php. The 2 lines in question are:
setcookie( 'wp-settings-' . $user_id, $settings, time() + YEAR_IN_SECONDS, SITECOOKIEPATH ); setcookie( 'wp-settings-time-' . $user_id, time(), time() + YEAR_IN_SECONDS, SITECOOKIEPATH );
I am using wordpress 3.8.1.
I hate to be the bearer of bad news, but that looks like more of a 'your code' issue than a Redux issue. Since the framework.php is loaded at the beginning of the project (as it should, for settings and retrieving option info), any code that follows that wants to modify header info needs to not do so. What the warning is saying to me is this "Whatever you are attempting to do, has already been done by framework.php."