Critical error after migration
-
Hello,
I’m trying to migrate my website from an old server to a new one. I configured my new server with the exact same PHP version as the old server (7.4).
However, every time I try to open the website on the new server, I encounter this error:
Parse error: syntax error, unexpected token "=>", expecting "]" in /home/cloudpanel/htdocs/website/wp-content/languages/plugins/wordpress-seo-it_IT.l10n.php on line 2
Parse error: syntax error, unexpected token "=>", expecting "]" in /home/cloudpanel/htdocs/website/wp-content/languages/it_IT.l10n.php on line 2It seems to be related to the language files, but everything works fine on the old server. I can’t figure out where the issue lies.
Additionally, I can’t access the back-end.
I also tried disabling the plugin, but the error persists:
Parse error: syntax error, unexpected token "=>", expecting "]" in /home/cloudpanel/htdocs/website/wp-content/languages/it_IT.l10n.php on line 2What can I do to resolve this problem? Should I set the old site to English and then switch to the Italian language after the migration, or is there something I’m missing?
The topic ‘Critical error after migration’ is closed to new replies.