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.
Tagged: Exception
This topic contains 0 replies, has 0 voices.
Last updated by Lauren 1 week, 2 days ago.
Assisted by: Lauren.
Author | Posts |
---|---|
December 3, 2024 at 2:25 pm | |
alessandroS-40 |
Background of the issue: Symptoms: [03-Dec-2024 11:55:34 UTC] PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/stagl10n.phpin.com/public_html/wp-content/themes/Divi/core/languages/it_IT.l10n.php) is not within the allowed path(s): (/home/stage.mydomain.com/public_html/:/home/stage.mydomain.com/tmp/:/tmp/) in /home/stage.mydomain.com/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173 Questions: |
December 3, 2024 at 3:34 pm | |
December 3, 2024 at 3:38 pm #16472813 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
Please let me know if changing the version of PHP resolves the warning messages. Thanks! |
December 4, 2024 at 3:18 pm #16477449 | |
alessandroS-40 |
Hi, I also verified that on your sandbox, in the php configuration the open_basedir directive is not set and probably for this reason you can't reproduce the issue. Try if setting |
December 16, 2024 at 8:51 pm #16518962 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
It seems that the issue might be related to the 'open_basedir' restriction on the server, which limits the paths PHP can access, potentially affecting file operations. We recommend contacting your hosting provider to discuss modifying the 'open_basedir' settings or other server configurations that might be causing these errors, and make sure the specific paths in the errors are all allowed. |
December 18, 2024 at 8:14 pm #16527508 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
I just came across this errata that looks like it may be related to your issue. Can you please try the workaround here and let me know if this resolves it? |