Errors an Website

Hello,
suddenly I hav on every of my 3 Pro-website a hundreds of error warnings, hope you can help, as I did not change anything on my sites since 2 weeks…, here the warnings:
Warning: file_exists(): open_basedir restriction in effect. File(/definition.php) is not within the allowed path(s): (/home/.sites/69/site6401403/web:/home/.sites/69/site6401403/tmp:/usr/share/pear:/usr/bin/php_safemode) in /home/.sites/69/site6401403/web/wp-content/themes/pro/cornerstone/includes/classes/classic/elements/class-element-orchestrator.php on line 218 Warning: file_exists(): open_basedir restriction in effect. File(/definition.php) is not within the allowed path(s): (/home/.sites/69/site6401403/web:/home/.sites/69/site6401403/tmp:/usr/share/pear:/usr/bin/php_safemode) in /home/.sites/69/site6401403/web/wp-content/themes/pro/cornerstone/includes/classes/classic/elements/class-element-orchestrator.php on line 218 Warning: file_exists(): open_basedir restriction in effect. File(/definition.php) is not within the allowed path(s): (/home/.sites/69/site6401403/web:/home/.sites/69/site6401403/tmp:/usr/share/pear:/usr/bin/php_safemode) in /home/.sites/69/site6401403/web/wp-content/themes/pro/cornerstone/includes/classes/classic/elements/class-element-orchestrator.php on line 218 Warning: file_exists(): open_basedir restriction in effect. File(/definition.php) is not within the allowed path(s): (/home/.sites/69/site6401403/web:/home/.sites/69/site6401403/tmp:/usr/share/pear:/usr/bin/php_safemode) in /home/.sites/69/site6401403/web/wp-content/themes/pro/cornerstone/includes/classes/classic/elements/class-element-orchestrator.php on line 218 Warning: file_exists(): open_basedir restriction in effect. File(/definition.php) is not within the allowed path(s): (/home/.sites/69/site6401403/web:/home/.sites/69/site6401403/tmp:/usr/share/pear:/usr/bin/php_safemode) in /home/.sites/69/site6401403/web/wp-content/themes/pro/cornerstone/includes/classes/classic/elements/class-element-orchestrator.php on line 218 Warning: file_exists(): open_basedir restriction in effect. File(/definition.php) is not within the allowed path(s): (/home/.sites/69/site6401403/web:/home/.sites/69/site6401403/tmp:/usr/share/pear:/usr/bin/php_safemode) in /home/.sites/69/site6401403/web/wp-content/themes/pro/cornerstone/includes/classes/classic/elements/class-element-orchestrator.php on line 218 Warning: file_exists(): open_basedir restriction in effect. File(/definition.php) is not within the allowed path(s): (/home/.sites/69/site6401403/web:/home/.sites/69/site6401403/tmp:/usr/share/pear:/usr/bin/php_safemode) in /home/.sites/69/site6401403/web/wp-content/themes/pro/cornerstone/includes/classes/classic/elements/class-element-orchestrator.php on line 218 Warning: file_exists(): open_basedir restriction in effect. File(/definition.php) is not within the allowed path(s): …

Hey @Gilgalad,

Thanks for writing in! The open_basedir is a server configuration, a security measure to disallow file access. Please try deactivating the open_basedir. Edit the php.ini file, or .user.ini that is located within the main directory of your site and add this line:
open_basedir = none

If the php.ini file doesn’t exist, please feel free to create it.

Please restart your server after this. Or you can just disable the debug mode. You can do this by opening wp-config.php and adding


define('WP_DEBUG', false);

/* That's all, stop editing! Happy blogging. */

When you revisit the page, you should no longer be seeing those PHP warning messages.

Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.