When a value changes in the database and the site keeps showing the old one, the object cache is a suspect.
wp cache type
wp cache flush
wp cache type reports which object cache is active, for example the default non-persistent one or a Redis or Memcached drop-in. wp cache flush clears it. With the default cache the data only lives for one request, so flushing changes nothing there, and the call only matters when a persistent backend is installed. A flush on a shared Redis server can empty the keys of other sites too, unless each site has its own prefix or database number.
Further reading: WP-CLI: wp cache flush