跳到内容 跳到侧边栏
Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

支持人员时区: Asia/Kathmandu (GMT+05:45)

本主题包含 0 則回覆 ,有 1 声音 。

最后由 gianfrancoa-3 1 months, 1 weeks前 更新。

协助者:: Shekhar Bhandari.

作者 帖子
31 10 月, 2025 于 8:20 上午

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?

主题'[關閉] open_basedir restriction in effect'已关闭,不接受新回复。