It's a PHP version issue.

Few versions support $varibale = ""(Blnk) but the latest PHP version needs $variable = 0 instead of the blank to consider it's value as the numeric.