I have a weird problem with an email review template, the email template is “REVIEW_REQUEST_REMIND_AUTO” and I have noticed that an IP address appears instead of the contextUrl and instead of submissionReviewUrl.
So if the url content is “http://mydoamin/JMBS/” the email prints “http://172.31.11.172/JMBS”, basically the domain is replaced with an IP address.
I had a look at the OJS configuration and I had a look at the database and I grep “172.31.11.172” in the whole database but I haven’t found any problem.
I believe there is a issue on that particular email template?
OJS’s automatic baseurl detection is tentative at best. Entering your actual base URL (or baseURLs) in config.inc.php should resolve this problem for you.