I migrated my Wordpress site to another hosting, I did everything right, but this error is occurring:
Fatal error: Uncaught Error: Call to undefined function untrailingslashit () in /storage/ssd3/451/2091451/public_html/wp-includes/option.php:126 Stack trace: # 0 / storage / ssd3 / 451/2091451 /public_html/wp-includes/default-constants.php(138): get_option ('siteurl') # 1 /storage/ssd3/451/2091451/public_html/wp-settings.php(255): wp_plugin_directory_constants () # 2 / storage / ssd3 / 451/2091451 / public_html / wp-config.php (102): require_once ('/ storage / ssd3 / 4 ...') # 3 / storage / ssd3 / 451/2091451 / public_html / wp-load. php (37): require_once ('/ storage / ssd3 / 4 ...') # 4 /storage/ssd3/451/2091451/public_html/wp-blog-header.php(13): require_once ('/ storage / ssd3 / 4 ... ') # 6 / main / throttle in / storage /ssd3/451/2091451/public_html/wp-includes/option.php on line 126