To add a background color for an object filled with a pattern, you could use the Appearance panel and add another fill below the pattern fill.
Or you could double click the pattern swatch and use the Pattern maker to add a fill below the pattern.
But that is not your problem.
Can you share a file with the pattern that causes the problem?
CC file sharing, DropBox, WeTransfer, Google...