Hey guys! Today I got my theme approved and made 2 sales! Happy for that.
Now, the customers where experiencing an error I was not on my server (it looks like it depends on the php configuration)
Anyway, after some embarrassing moment with the customers I found that the error was due to a blank space at the end of the file, after the ?> tag
The error wp gives away obviously does not say that all the problem is the white space, in my case the error the customers were giving was something to do with “Warning: Cannot modify header information – headers already sent by….”
I solve it just by deleting every blank space at the end.
Hope this helps someone. P
And it is recommended to not include the closing tag in PHP files:
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.