Warning: Cannot modify header information – headers already sent by (output star

Posted in: Newsmag
Post count: 27

Getting this error now…

Only happens when you try and add a post or edit a post.

My wife sees it sitewide on the admin area, I only see it after update post or publish post…

Warning: Cannot modify header information – headers already sent by (output started at /home/save5478/public_html/wp-content/themes/salv5/includes/td_config.php:1) in /home/save5478/public_html/wp-admin/post.php on line 236

Warning: Cannot modify header information – headers already sent by (output started at /home/save5478/public_html/wp-content/themes/salv5/includes/td_config.php:1) in /home/save5478/public_html/wp-includes/pluggable.php on line 1196

Post count: 27

Only changes i’ve done to the config file is add the ability of 5 more custom ad spots.

Post count: 27

Reverting back to a backup from yesterday.

I checked my error log and these are all the errors we have logged since theme installation:

[18-Jul-2015 02:00:52 UTC] PHP Fatal error: Call to undefined function get_header() in /home/save5478/public_html/wp-content/themes/salv5/index.php on line 6
[19-Jul-2015 14:54:21 UTC] PHP Fatal error: Class ‘td_global’ not found in /home/save5478/public_html/wp-content/themes/salv5/404.php on line 6
[20-Jul-2015 04:59:32 UTC] PHP Fatal error: Call to undefined function get_header() in /home/save5478/public_html/wp-content/themes/salv5/index.php on line 6
[23-Jul-2015 21:37:16 UTC] PHP Fatal error: Call to undefined function get_header() in /home/save5478/public_html/wp-content/themes/salv5/index.php on line 6
[24-Jul-2015 22:59:20 UTC] PHP Fatal error: Call to undefined function get_header() in /home/save5478/public_html/wp-content/themes/salv5/index.php on line 6

I noticed these errors when using the custom page builder. Modifying settings such as responsiveness / design options.

  • This reply was modified 11 years by SaL.
Post count: 27

Restored, compared files and found what I did… total brain fart and this is what caused the issue:

‘custom_ad_5’ => ‘custom_ad_6’,
‘custom_ad_5’ => ‘custom_ad_7’,
‘custom_ad_5’ => ‘custom_ad_8’,
‘custom_ad_5’ => ‘custom_ad_9’,
‘custom_ad_5’ => ‘custom_ad_10’

I forgot to change the other numbers lol Totally over looked it last night, was late. Even overlooked it this morning otherwise restoration wouldn’t have taken place 😉

I still receive errors within Custom Page Builder though.

I will capture a screeny next time I see it.

Post count: 1291

Hi,

The errors which appear on Visual Composer should be harmless, we will include the plugin latest version in the theme next update and those errors should disappear.

Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newsmag’ is closed to new topics and replies.