Have you ever worked on your local environment – looks fine, and then your live server produces the following error? Warning Cannot modify header information – headers already sent by… This usually happens because output buffering is often
“Headers already sent” warning doesn’t appear on localhost


![[Fix] deprecated: Required parameter follows optional parameter [Fix] deprecated: Required parameter follows optional parameter](https://sanjeebaryal.com.np/wp-content/uploads/2023/01/Required-Parameter-followed-by-optional-parameter-750x350.png)

