Background of the issue:
I am trying to create new pages using Elementor Pro on my WordPress site hidden link. When WPML is activated, the newly created pages do not appear in the Pages list, even though the page count increases. If I deactivate WPML, the pages show up correctly. The only temporary solution I have found is to use the "Set language information" option in WPML > Troubleshooting. This makes the page visible, but I have to repeat this step every time I create a new page. I’m looking for a permanent solution to this problem.
Symptoms:
Newly created pages are not visible in the WordPress Dashboard when WPML is active, although the page count increases.
Questions:
How can I make newly created pages visible in the Pages list without deactivating WPML?
Is there a permanent solution to avoid using the "Set language information" option in WPML > Troubleshooting every time I create a new page?
Thank you for contacting WPML Support. Could you please follow the below steps and see if this resolves the issue:
1. Take a backup of your site first for safety reasons.
2. Go to the WPML >> Support >> Troubleshooting page and press the below buttons:
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Assign translation status to duplicated content
- Fix post type assignment for translations
- Set language information
3. If the issue still persists, please enable error reporting on your site as I need to see the details of the latest error log to understand the cause of the issue better. To enable it, open your ‘wp-config.php’ file and look for ‘define(‘WP_DEBUG’, false);’. Change it to:
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
define( 'SCRIPT_DEBUG', true );
After adding the above code, please try reloading the backend/frontend of your site again, and if this process creates a debug.log file in your site's wp-content directory. Please send me its contents.
Thank you for your continued assistance. I've followed your previous instructions and have some important updates to share.
What I've Tried So Far:
- Cleared WPML cache.
- Removed ghost entries from the translation tables.
- Assigned translation status to duplicated content.
- Fixed post type assignment for translations.
- Set language information.
None of the above as settle the issue permenantly.
Updated WPML Version:
I have updated WPML to the latest version 4.6.14, released on November 12th, but the issue still persists. Newly created pages still do not appear in the WordPress Dashboard, even though the page count increases. I still have to manually use "Set language information" to make the pages visible.
I successfully enabled WordPress debug logging. The debug.log file now covers entries from November 12th to November 14th and is quite large (approximately 3MB).
Here is a line that comes back quite a few times in the debug.log:
14-Nov-2024 09:49:12 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
wpml-translation-management
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the
init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/ecuriebelaircom_479/public/wp-includes/functions.php on line 6114
Since there's no way to attach a .log file here, I’ve uploaded it to Google Drive. You can access it using the link below:
Google Drive Link to debug.log: hidden link
Please let me know if there are any further steps I can take or if you need additional information.
Hello Simon!
I hope you're doing well. Sorry for the delay in responding due to the weekend.
As Noman is on vacation, I’ve taken over the ticket and will do my best to assist you.
I understand the issue you’re experiencing. The notices mentioned in the debug log are unlikely to be the root cause, as they are just notices and don’t typically impact functionality. However, I previously worked on a case that is similar to yours. Please review the ticket link below.
The main issue was that the AUTO_INCREMENT setting for the WPML tables wasn’t configured properly. I kindly recommend contacting your hosting provider or developer and asking them to verify if all the tables have the AUTO_INCREMENT feature enabled.
Additionally, please review this response to ensure that the ICL tables have at least one primary key and that the keys are set to auto-increment.
I hope the information above will help to solve the issue. But, feel free to let me know if you need further assistance or clarification. I'll be happy to help.
Best regards,
Prosenjit
The topic ‘[Closed] I need help resolving an issue where newly created pages are not visible in the WordPress Dashboard …’ is closed to new replies.