If I put
update_option( ‘siteurl’, ‘https://example.com’ );
update_option( ‘home’, ‘https://example.com’ );
into the functions.php I get
Fatal error: Call to undefined function update_option() in /var/www/l3s88/html/wp/wp-includes/functions.php on line 2
If I put
define( ‘siteurl’, ‘https://example.com’ );
define( ‘home’, ‘https://example.com’ );
into the wp-config.php it works (I can log in again)
but as soon as I take it out of the wp-config.php I can`t log in any more.