Hi Margaret!! Thank you very much for replying.
The sites are hosted in separated AWS LightSail instances (single site, Bitnami WP).
I agree that it is very difficult to reproduce the problem, even for me. Besides, I am not an expert in PHP.
I’m looking at the get_option code. It gets the siteurl from the wp_options table in the database. I queried the db directly and there is only one record with the right value.
I am suspecting that a connection problem with the db might lead to a default value (see line 203), but I couldn’t follow to find where it is replaced by an ip address.
Is there a way to troubleshoot db connection issues?
Hi Kaushik, Thanks for your response.
I can confirm that the site address is the URL. This problem occurs occasionally, not always, and in many sites.