0
I migrated my Wordpress site to another hosting, I did everything right, however this occurring error:
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...') #5 /Storage/ssd3/451/2091451/public_html/index.php(17): require('/Storage/ssd3/4...') #6 {main thrown} in /Storage/ssd3/451/2091451/public_html/wp-includes/option.php on line 126
The message says the function
untrailingslashit
is not defined. You can set the contents of the fileoption.php
? And also if it includes any other file?– Jefferson Quesado
Checked the files' permission, are at 755?
– Stéfano
Also, have you checked the . htaccess file? Disabled the plugins or templates to see if any of them are conflicting?
– Stéfano
I will check, however I downloaded the files from my site and there is no more way I disable the plugins because I do not have access to the site
– Márcio Sebastião
I changed the php version to the old version and now the error just turned into this: Call to Undefined Function untrailingslashit() in /Storage/ssd3/451/2091451/public_html/wp-includes/option.php on line 126
– Márcio Sebastião
@Stéfano How do I do it?
– Márcio Sebastião