#31 PHP Creating default object from empty value error fix.