Background of the issue:
I am trying to log in and I see a warning message at the top of the page. The warning is: Warning: Cannot modify header information - headers already sent by (output started at /var/www/forequestrian.com/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/UserInterface/Web/Infrastructure/WordPress/CompositionRoot/Config/ExistingPage/PostListingPage.php:23) in /var/www/forequestrian.com/public_html/wp-includes/functions.php on line 7168.
Radiustheme - WordPress
Symptoms:
I see a warning message about 'Cannot modify header information' when logged in.
Questions:
What could be causing the warning message about header information?
How can I resolve the issue with the warning message?
To investigate further, please enable WordPress Debug Mode and check if any warnings or errors appear. You can follow the steps in the official documentation here:
To enable WordPress Debug log, open your wp-config.php file of the site root 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 );
This issue might be caused by a compatibility conflict. To confirm, please try the following steps if possible:
a) Backup your site first[Mandatory]
b) Switch for a moment to a WordPress default theme like 2025
c) Deactivate all the plugins that are not related to WPML
d) Then check whether the issue exists or not
e) If the issue is gone, activate the plugins as a group of three or four to find which one has an interaction issue
f) Switch back to the original theme of the site
Thank you for the details. To proceed with further investigation, please fill in the private details fields, including FTP credentials, after taking a full site backup. I would also like to access your site's admin area for additional checks.
For more information, please refer to the following links regarding our private information sharing policies.