Title: Multisite error
Last modified: October 12, 2022

---

# Multisite error

 *  [atelier64](https://wordpress.org/support/users/atelier64/)
 * (@atelier64)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/multisite-error-27/)
 * Hi,
 * Our multisite website regularly gets a Too many redirects error screen.
    We don’t
   know when or why this error appears. That’s why I went to investigate to find
   the reason for this. I found that when I press the button “update network” on
   wp-admin/network/upgrade.php. I also receive that error. This is a first good
   direction to trigger the error that was previously random.
 * I have found that there is a problem between the following plugins: woocommerce,
   ultimate member, events manager.
 * When I deactivate one of these plugins everything works great when pushing the“
   upate network” button.
    When all 3 plugins are activated, I see the error again.
 * Also when I install ultimate member on single site (not on the network), then
   I don’t see the error.
 * Now when I go to wp-admin/admin.php?page=ultimatemember on one of the sites on
   the network, except for the main site, I see this error:
    Purge Temp Files There
   has been a critical error on this website. It doesn’t matter if Ultimate member
   is active on network or on single sites. I always see that error on a site that
   is not the main site.
 * Now I installed ultimate member without other plugins and with twenty one theme.
   
   I still see the same error.
 * Why do I see this error?
    Ultimate member version: 2.5.0
    -  This topic was modified 3 years, 7 months ago by [atelier64](https://wordpress.org/support/users/atelier64/).

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

 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/multisite-error-27/#post-16092479)
 * [@atelier64](https://wordpress.org/support/users/atelier64/)
 * > There has been a critical error on this website.
 * For this error enable PHP Debug so the UM Developers can see the PHP error.
 * [https://docs.ultimatemember.com/article/1751-enable-debug-logging](https://docs.ultimatemember.com/article/1751-enable-debug-logging)
 * Post the contents of the `debug.log` file here in the forum.
 *  Thread Starter [atelier64](https://wordpress.org/support/users/atelier64/)
 * (@atelier64)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/multisite-error-27/#post-16092501)
 * [12-Oct-2022 12:25:10 UTC] PHP Fatal error: Uncaught UnexpectedValueException:
   RecursiveDirectoryIterator::__construct(/data/ultimatemember/temp/): Failed to
   open directory: No such file or directory in /data/sites/web/*******/wp-content/
   plugins/ultimate-member/includes/admin/core/class-admin-menu.php:277
    Stack trace:#
   0 /data/sites/web/*******/wp-content/plugins/ultimate-member/includes/admin/core/
   class-admin-menu.php(277): RecursiveDirectoryIterator->__construct() #1 /data/
   sites/web/*******/wp-content/plugins/ultimate-member/includes/admin/templates/
   dashboard/purge.php(4): um\admin\core\Admin_Menu->dir_size() #2 /data/sites/web/*******/
   wp-content/plugins/ultimate-member/includes/admin/core/class-admin-menu.php(245):
   include_once(‘/data/sites/web…’) #3 /data/sites/web/*******/wp-admin/includes/
   template.php(1401): um\admin\core\Admin_Menu->purge_temp() #4 /data/sites/web/*******/
   wp-content/plugins/ultimate-member/includes/admin/core/class-admin-menu.php(315):
   do_meta_boxes() #5 /data/sites/web/*******/wp-includes/class-wp-hook.php(307):
   um\admin\core\Admin_Menu->admin_page() #6 /data/sites/web/*******/wp-includes/
   class-wp-hook.php(331): WP_Hook->apply_filters() #7 /data/sites/web/*******/wp-
   includes/plugin.php(476): WP_Hook->do_action() #8 /data/sites/web/*******/wp-
   admin/admin.php(259): do_action() #9 {main} thrown in /data/sites/web/*******/
   wp-content/plugins/ultimate-member/includes/admin/core/class-admin-menu.php on
   line 277
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/multisite-error-27/#post-16094344)
 * [@atelier64](https://wordpress.org/support/users/atelier64/)
 * Read this guide and your issue is with the “temporary directory for uploads” 
   the temp folder can’t be found (=has not been created by UM):
 * [https://docs.ultimatemember.com/article/114-photo-uploads-not-working](https://docs.ultimatemember.com/article/114-photo-uploads-not-working)
    -  This reply was modified 3 years, 7 months ago by [missveronica](https://wordpress.org/support/users/missveronicatv/).
    -  This reply was modified 3 years, 7 months ago by [missveronica](https://wordpress.org/support/users/missveronicatv/).
    -  This reply was modified 3 years, 7 months ago by [missveronica](https://wordpress.org/support/users/missveronicatv/).
 *  Thread Starter [atelier64](https://wordpress.org/support/users/atelier64/)
 * (@atelier64)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/multisite-error-27/#post-16094895)
 * Hi,
 * There are nu upload problems. I can upload images as usual.
 * The error only occurs with a multisite.
    I have ultimate member installed on 
   other websites on same hosting. There are no problems on those websites that 
   are not multisite.
 * So on multisite I don’t see errors on the main site. Only on subsites.
    This 
   is that error: [https://snipboard.io/ARieNJ.jpg](https://snipboard.io/ARieNJ.jpg)
   Left image is on subsite of multisite. Right image is main site of multisite.
   I don’t think it makes sense that a directory is not writable to the subsite 
   and to the main site it is? If it was not writable, then the error should be 
   visible on all websites?
 * Anyway, if I check this document: [https://docs.ultimatemember.com/article/114-photo-uploads-not-working](https://docs.ultimatemember.com/article/114-photo-uploads-not-working)
   
   I checked the following: – correct permissions to wp-content/uploads/ultimatemember–
   > This upload folder is writable. Has the same settings. – Increase the WordPress
   memory limit via wp-config.php –> Is already define( ‘WP_MEMORY_LIMIT’, ‘1024M’);–
   Maximum upload file size: 50 MB.
 * I did not contact the hosting support because there are no upload problems.
 * If you want a can setup a dev hosting with only ultimate member on multisite 
   so you can check the error yourself?
 * – I don’t normally use ultimate member’s uploads directory. I mainly use Ultimate
   member to give user roles access to pages or not. They should not be able to 
   register.
    -  This reply was modified 3 years, 7 months ago by [atelier64](https://wordpress.org/support/users/atelier64/).
 *  Thread Starter [atelier64](https://wordpress.org/support/users/atelier64/)
 * (@atelier64)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/multisite-error-27/#post-16105303)
 * Any news about this problem?
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/multisite-error-27/#post-16105996)
 * [@atelier64](https://wordpress.org/support/users/atelier64/)
 * Question: Any security software tool at your web hosting like ModSecurity or 
   Suhosin?
 *  Thread Starter [atelier64](https://wordpress.org/support/users/atelier64/)
 * (@atelier64)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/multisite-error-27/#post-16106033)
 * Hi,
 * So when I setup a new WordPress website with multisite and ultimate member on
   another hosting or local then the error should not appear?
 * Then I’m going to try with Xampp on localhost.
    When I don’t see the error, then
   the error would lie with the hosting company?
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/multisite-error-27/#post-16106063)
 * [@atelier64](https://wordpress.org/support/users/atelier64/)
 * Yes you can try with localhost.
 * It’s not an error but it may be harder security where the main and subsites are
   considered being different users.
 * If Suhosin is active you can see by looking at UM Settings -> Install Info
    -  This reply was modified 3 years, 7 months ago by [missveronica](https://wordpress.org/support/users/missveronicatv/).
 *  Thread Starter [atelier64](https://wordpress.org/support/users/atelier64/)
 * (@atelier64)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/multisite-error-27/#post-16106082)
 * SUHOSIN: Your server does not have SUHOSIN installed.

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

The topic ‘Multisite error’ 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/)

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * 9 replies
 * 2 participants
 * Last reply from: [atelier64](https://wordpress.org/support/users/atelier64/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/multisite-error-27/#post-16106082)
 * Status: not resolved