Error: Too many actual parameters for macro TEXT

You’ve got your brackets in the wrong place. You have:

UE_LOG(LogTemp, Warning, TEXT("my info: %s", *MyVariable))

Where as it should be

UE_LOG(LogTemp, Warning, TEXT("my info: %s"), *MyVariable)

This is because it is the UE_LOG macro which expects to have 3 or more paramters passed into it (where the 4th, 5th,6th etc should correspond to what you want to print in the text. The TEXT macros should only ever have one parameter.

An example of something which uses more variables would be:

UE_LOG(LogTemp, Display, TEXT("my info: %s with value %f, %s"), *MyFirstString, MyFloat, *MySecondString)