Background of the issue:
I am trying to get translations available on my site hidden link. I noticed that the translations were not available, and upon inspection, I found that the wp-seo-multilingual folder was deleted. After reinstalling and activating the folder and the links feature, a critical error occurred.
Symptoms:
Critical error after reinstalling and activating the wp-seo-multilingual folder and links feature.
Questions:
How can I resolve the critical error after reinstalling the wp-seo-multilingual folder?
What steps should I follow to ensure translations are available on my site?
Could you please explain why you think the wp-seo-multilingual folder was deleted?
First, you need to see what the errors are. Guessing what might be the problem and trying different solutions may lead to even more trouble. The first step is to enable debugging. You can add a few lines to the site’s wp-config.php file. With the error log enabled, you will see what the actual problem is.
To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:
define('WP_DEBUG', true);
To enable the error logging to a file on the server, you need to add yet one more similar line:
define( 'WP_DEBUG_LOG', true );
The errors will be saved to a debug.log log file inside the /wp-content/directory.