0 sizeof(): Argument #1 ($value) must be of type Countable|array, null given

// Implementing Fixed Navigation/Header on Scroll