• Hello, I was getting the white screen when going to wp-admin. When I turned on errors I saw the error below. When I disabled this plugin all is working.

    Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/nsqol.org/public_html/wp-content/plugins/gforms-addon-for-country-and-state-selection/includes/functions.php:106) in /home/customer/www/nsqol.org/public_html/wp-includes/functions.php on line 7168

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • @maxms I was able to fix this by removing the PHP end tag and empty space from the functions.php file.

    Yes this is an issue for sitemaps on websites as well.
    But not only this,… it adds an extra space to the top of EVERY generated page or markup file processed through the template flow that is loaded on the front-end.
    This will cause header issues and invalidate sitemap.xml files too,.. which is kinda serious for SEO, as bots and parsers require the <?xml> element at the beginning first line of the file for it to be valid for reading what a site has available for crawling.

    Hope the fix gets pushed out in the next version and that the bug is not carried over to each subsequent version in the future.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Error after last update’ is closed to new replies.