Take trouble over/with something verb phrase
People usually add modifiers such as a lot of, too much, so much, etc before "trouble".
To make a great effort to do something
He took so much trouble over this assignment.
I take a lot of trouble with my English pronunciation.
The police took a lot of trouble to find the lost child.
Thank you for taking trouble to come here to join us even you are busy.
Adequate measures or actions
To do one's best or try one's best to do something
If you desire something good or appealing, you must make the necessary effort to acquire it.
To work really hard in order to attain something.
The verb "take" should be conjugated according to its tense.