Issue #3258397 by arraksis, rszrama: Warning: reset() expects parameter 1 to be array, null given after upgrade to 7.x-1.16