This thread is resolved. Here is a description of the problem and solution.
Problem:
You are encountering the issue 'Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated' on PHP 8.0+. This problem is known to occur due to the trailingslashit() function in wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/class-wpml-include-url.php:23.
Solution:
We recommend testing WPML 4.7 Beta, which addresses this issue. Here's how you can install it:
1. Ensure you are using the latest stable version of WPML on your test site.
2. Go to the Plugins page, click the "Add New" button, and select the "Commercial" tab.
3. Change the "Update channel" to "Beta" using the dropdown, then confirm by clicking the "Switch" button.
4. Install the beta version of WPML and any add-on plugins you use.
For more details, visit WPML 4.7 Beta release notes.
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 1 reply, has 0 voices.
Last updated by 8 months, 1 week ago.
Assisted by: Andrey.