[BUGFIX] PHP warning "Creating default object from empty value"