Symptoms:
I received the following error message: 'Deprecated: urlencode(): Passing null to parameter #1 ($string) of type string is deprecated in /…/public/wp-content/plugins/wp-seo-multilingual/classes/YoastSEO/class-wpml-wpseo-filters.php on line 131'.
Questions:
How can I resolve the deprecated error message when editing the Elementor Header?
Is this issue related to WPML or another plugin?
This warning will not affect the functionality of the plugin or your site — it’s simply an alert. It will be fixed in a future version of the WPML SEO plugin.
In the meantime, to prevent unwanted warnings or errors from being displayed to your visitors, we recommend disabling debug mode in WordPress. This helps ensure a smoother user experience. You can do this by editing your wp-config.php file and adding or modifying the following line:
Can I kindly ask you for access so I can double-check this warning message?
Have you also tested this on your staging site by temporarily deactivating all plugins except WPML and your SEO plugin to see if the warning still appears?
When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.