Skip to content Skip to sidebar

This topic contains 0 reply, has 1 voice.

Last updated by gianfrancoa-3 1 month, 1 week ago.

Assisted by: Shekhar Bhandari.

Author Posts
October 31, 2025 at 8:20 am

gianfrancoa-3

Background of the issue:
I'm trying to solve the many 'open_basedir restriction in effect' errors I have in my debug log, like:

PHP Warning: file_exists(): open_basedir restriction in effect. File(WP Endpoints-en_US.mo) is not within the allowed path(s): (/home/) in /home/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTranslationFile.php on line 82

PHP Warning: file_exists(): open_basedir restriction in effect. File(WP Endpoints-en_US.l10n.php) is not within the allowed path(s): (/home/) in /home/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTranslationFile.php on line 85

PHP Warning: realpath(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/) in /home/www/wp-includes/l10n/class-wp-translation-controller.php on line 106

Symptoms:
Many 'open_basedir restriction in effect' errors in log.

Questions:
How can I resolve the 'open_basedir restriction in effect' errors in my debug log?

The topic ‘[Closed] open_basedir restriction in effect’ is closed to new replies.