Background of the issue:
I am trying to find the strings in the themes and plugins I've built and add them to WPML. The site is under development and has limited visibility to the outside world.
Symptoms:
When I click the scan button in WPML, it never finishes. Last time it ran for several days without effect, and now it's not even listing the files anymore.
Questions:
Is the issue a bug, a misconfiguration, or a connection problem due to limited site visibility?
While one of my teammates handles your ticket, I will provide you with initial debugging steps.
There is probably an error in the PHP code that your site runs. 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 the actual problem.
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 file inside the /wp-content/directory.