Every thing was going well, we ________ any problem by them.
Every thing was going well, we ________ any problem by them.
Explanation
The sentence is in the past tense ("Everything was going well"), so the correct form is "didn't have" (past simple negative).
"Didn't" is used with the base form of the verb ("have").