WordPress includes a debug mode which helps reveal PHP problems.
To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:
In order 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 );
In this case the errors will be saved to a debug.log log file inside the /wp-content/directory.
Depending on whether you want your errors to be only logged or also displayed on the screen you should also have this line there, immediately after the line mentioned above:
define( 'WP_DEBUG_DISPLAY', true );
wp-config.php is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it.
If you open wp-config.php and that define statement is not there, you can add it right before this line:
/* That's all, stop editing! Happy blogging. */
Please note that you’ll see everything, not only related to WPML. This will most likely include messages from other plugins, your theme and sometimes even WordPress core. The messages appear all over the place. Sometimes they appear right on top, but they can also appear in the middle of the page.
Our technical support forum is the best place for sending bug reports. WPML supporters monitor every post and respond quickly. They will alert the WPML development team in order to evaluate and properly address any bug reports you bring to our attention. You can subscribe to get email notifications about comments in your thread to get our replies when they’re available.
Debugging problems effectively
Depending on the issue at hand we have two types of logs you may be asked to provide. You will find links to both on WPML’s support page – shown in the image below
Clicking on either link will redirect you to the corresponding log. Simply copy the information you see printed inside the log and provide it in the forum when asked by the WPML support team.