[Resolved] I've got an error on mutliple locations on the website
This thread is resolved. Here is a description of the problem and solution.
Problem: You are experiencing an error on your website indicating an 'open_basedir restriction in effect'. This error appears because the file access is restricted to specific directories. Solution: We recommend ensuring that your WPML String Translation plugin is updated to the latest version, which is 3.2.18. You can check for the latest versions in the 'My Account -> Downloads' section of the WPML site. If updates are not visible, you might need to click the 'Check for updates' button in the Plugins → Add New Plugin → Commercial tab. Always remember to back up your database before updating.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, 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.
Background of the issue:
I am experiencing an error on multiple locations on my website hidden link. The error message is: Warning: realpath(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/manurefetish.com/:/tmp/) in /var/www/vhosts/manurefetish.com/httpdocs/wp-includes/l10n/class-wp-translation-controller.php on line 106.
Symptoms:
The website displays an error message related to open_basedir restriction in effect.
Questions:
How can I resolve the open_basedir restriction error on my website?
Hi There!
Thanks for contacting WPML Support. Sorry for the delay in responding due to the weekend.
Before this thread gets assigned to my colleague, I'd like to offer some initial guidance or potential solutions.
We are aware of a base directory restriction issue in the String Translation plugin versions 3.2.16 and 3.2.17. Please refer to the Errata below for more details.
Could you please try the workaround mentioned and check if it helps in solving the issue?
The other error you mentioned, generated by the WordPress core, could be related to the PHP version you're using. WordPress is not yet fully compatible with PHP 8.2, which could display some compatibility warnings. Please refer to the link below for more details:
However, please note that WPML provides compatibility support for PHP versions up to 8.3. Therefore, you shouldn't encounter any warnings or errors related to PHP caused by the WPML plugin.
I hope you can understand. Let us know if you need further assistance in this matter. We'll be happy to help.
Thank you for your updates. Please ensure that your WPML String Translation plugins are updated to the latest version, 3.2.18.
You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/
If you do not see the updates, you might need to click the Check for updates button in the Plugins → Add New Plugin → Commercial tab.
Please remember to back up your database before you proceed.