PHP Fix “Warning: Cannot modify header information – headers already sent”

If you’re here, it’s probably because you are looking for answers to why you are seeing the error Warning: Cannot modify header information – headers already sent being generated from your code. There are many reasons that this can happen. Answers below…

Why Does “Notice: Undefined Variable” or “Notice: Undefined index” all of a sudden show up in my PHP Code?

It’s a beautiful day, you make it to work and all of a sudden, out of no where, see PHP Notices like Notice: Undefined Variable, Notice: Undefined index, or Notice: Undefined offset. These errors might look something like the example below:

Tutorial – How To Change The WordPress “Read More” Anchor in Your Post

I recently had come across a challenge in this very WordPress site. I needed to change the “Read More” anchor tag in my posts so that I could leverage certain functionality I wanted to implement. The standard “Read More” anchor looks something like this <span id=”more-{id}”></span>. I wanted to add some content inside of the […]

Tutorial – Setting Up BigCommerce Stencil Template Testing/QA Environment

I’ve been helping out some friends of mine move their existing BigCommerce Blueprint template to the BigCommerce’s new theme engine called Stencil. To ensure that I did a good job moving the theme over to Stencil, I needed to give my friends the ability to test the new theme without compromising their existing site. Hence, […]

How Did Browser Cookies Get Their Name?

One thing software developers do very well is name things. Typically, after an engineer gets done developing a piece of software or a concept, they look around for a name. Quite literally, they look around at objects that are sitting near them and adopt that as the name for their new widget. If you’ve been […]

Solution – Mac OS 10.14 Mojave – 48)Address already in use: AH00072: make_sock: could not bind to address [::]:80

Apache stopped working for me all of a sudden when I upgraded my Mac to Mojave. I attempted to shut down all of my Apache processes running but still had no luck. What I found was I had to disable OSX’s built-in Apache Servers: After doing that, I restarted and everything was working again!