[Resolved] Localhost Works Fine but Live Site Generating Header Error
I’m just in the progress of migrating my site to the live host, however in the process of testing I have run into an annoying problem.
Everything works without error on the localhost (using XAMPP) however when I’ve transferred this to the live build I get the good old Warning: Cannot modify header information – headers already sent by error.
The situation is this, I load a gravity form in a fancybox and fill it in, submit it and it changes some post information so refreshes the page behind it, however when the form closes and the page tries to reload this error occurs:
Notice: Trying to get property of non-object in /home/doctors1/public_html/newsite/mydoctorschemist/wordpress/wp-content/plugins/wordpress-access-control/wordpress-access-control.php on line 453 Notice: Trying to get property of non-object in /home/public_html/newsite/wp-content/plugins/wordpress-access-control/wordpress-access-control.php on line 474 Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/newsite/wp-content/plugins/wordpress-access-control/wordpress-access-control.php:453) in /home/public_html/newsite/wp-includes/pluggable.php on line 876
None of these errors occur on local and I can find no errors in the plugins as best as I can see but as I said they work locally.
Is there any reason this can occur on one server and not another?
Any help or pointers would be wonderful as it’s driving me nuts.
- The topic ‘[Resolved] Localhost Works Fine but Live Site Generating Header Error’ is closed to new replies.