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