Title: PHP open_basedir path errors
Last modified: November 24, 2022

---

# PHP open_basedir path errors

 *  [hayhow](https://wordpress.org/support/users/hayhow/)
 * (@hayhow)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-open_basedir-path-errors/)
 * Hey UM Team,
 * Thanks for a great plugin, I love working with it.
 * Running into an issue with the latest version 2.5.1 of UM Core and I’ll try and
   give you as much info as I can. Site is a MULTISITE. Issue occurs on all subsites
   and not the main site. WordPress is at version 6.1.
 * Here are the errors:
 *     ```
       Warning: file_exists(): open_basedir restriction in effect. File(/home/storm/ultimatemember/) is not within the allowed path(s): (/home/storm/sites/dev-cso-group/:/home/storm/tmp/dev-cso-group:/tmp) in /home/storm/sites/dev-cso-group/public/wp-content/plugins/ultimate-member/includes/core/class-files.php on line 700
   
       Warning: file_exists(): open_basedir restriction in effect. File(/home/storm/ultimatemember/temp/) is not within the allowed path(s): (/home/storm/sites/dev-cso-group/:/home/storm/tmp/dev-cso-group:/tmp) in /home/storm/sites/dev-cso-group/public/wp-content/plugins/ultimate-member/includes/core/class-files.php on line 706
   
       Warning: file_exists(): open_basedir restriction in effect. File(/home/storm/ultimatemember/languages/plugins/) is not within the allowed path(s): (/home/storm/sites/dev-cso-group/:/home/storm/tmp/dev-cso-group:/tmp) in /home/storm/sites/dev-cso-group/public/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-notices.php on line 252
       ```
   
 * I have used the `um_upload_basedir_filter` filter to print_r the $basedir variable
   that it gets passed and it is being generated correctly:
 * `/home/storm/sites/dev-cso-group/public/wp-content/uploads/sites/3/ultimatemember/'`
 * But then it seems to be getting changed to:
 * `/home/storm/ultimatemember`
 * Some things I’ve tried to resolve it:
 * Launched a ticket with our hosting company
    Tried running PHP 7.4 and 8.0 Tried
   Network activate and also subsite activate.
 * The issue is breaking the media library on subsites.
 * IMPORTANT: The issue doesn’t occur on another multisite running UM 2.4.1 which
   is on an identical server config and sitting on WP version 5.9.3
 * Hopefully you can help identify the issue.
 * Thanks,
    Hayhow
    -  This topic was modified 3 years, 6 months ago by [hayhow](https://wordpress.org/support/users/hayhow/).
    -  This topic was modified 3 years, 6 months ago by [hayhow](https://wordpress.org/support/users/hayhow/).
    -  This topic was modified 3 years, 6 months ago by [hayhow](https://wordpress.org/support/users/hayhow/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [hayhow](https://wordpress.org/support/users/hayhow/)
 * (@hayhow)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-open_basedir-path-errors/#post-16239541)
 * Hi,
 * Can you take a look at this please ?
 * Thanks.
 *  Plugin Support [andrewshu](https://wordpress.org/support/users/andrewshu/)
 * (@andrewshu)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-open_basedir-path-errors/#post-16347495)
 * Hello [@hayhow](https://wordpress.org/support/users/hayhow/)
 * Have you this issue with new versions of UM and WP?
 * Thank you.
 *  Plugin Support [andrewshu](https://wordpress.org/support/users/andrewshu/)
 * (@andrewshu)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-open_basedir-path-errors/#post-16361487)
 * Hi [@hayhow](https://wordpress.org/support/users/hayhow/)
 * This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved.
 * Please feel free to re-open this thread if any other questions come up and we’d
   be happy to help. 🙂
 * Regards
 *  Thread Starter [hayhow](https://wordpress.org/support/users/hayhow/)
 * (@hayhow)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-open_basedir-path-errors/#post-16602934)
 * Hi Andrewshu,
 * I’ve just upgraded to WP 6.1.1 and UM 2.5.4 and I’m still getting the same errors.
   
   Thanks,
 * Hayhow

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP open_basedir path errors’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [hayhow](https://wordpress.org/support/users/hayhow/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/php-open_basedir-path-errors/#post-16602934)
 * Status: not resolved