Extra spaces at end of files causes issues
-
I transferred a site running bbp-private-groups to a new host (inmotion) today, and had issues with “headers already sent issues” that all referenced the plugin. It took a while, but I finally tracked down the issue to 3-4 files in this plugin with extra spaces after closing php tags. Not many files have closing tags, but some do.
All files were in the includes folder, and I know three of them were user-view-post.php, shortcode-warning.php & help.php. There may have been one more, but I don’t remember. Removing these spaces solved my issue.
I’m passing this along, as it would be great to not have to fix this every time there is an update. ??
I have no idea why these files ran just fine on my old host…
- The topic ‘Extra spaces at end of files causes issues’ is closed to new replies.