Answers.Body: <p>Well, I finally tracked this down. But before I go into that, I should say that I initially worked around the issue by creating the Membership Types right in the Civi table using phpMyAdmin.</p>
  <p>Later, though, I noticed I was getting the same &quot;Loading failed&quot; when trying to add a tag to a contact using the tag tree popup. I also could not create a new mail message. It always got stuck on &quot;initializing.&quot; So I went searching for more help and found an old <a href="https://forum.civicrm.org/index.php?topic=35850.0" rel="nofollow noreferrer">post on the CiviCRM community forum</a> by @Coleman that seemed to be related to the issues I was experiencing.</p>
  <p>Based on that post, I started to disable WordPress plugins. I narrowed it down to the <strong>All In One WP Security</strong> plugin. Then I narrowed it down to the plugin's firewall measures. Finally, I found the culprit, the &quot;Enable legacy 5G Firewall Protection&quot; setting. By unchecking that, I was able to restore proper functionality in CiviCRM.</p>
  <p>I hope this helps someone else out there who might be getting &quot;loading failed&quot; issues. It will most likely be related to the firewall and what is in the .htaccess file.</p>
  <p>Thanks again to those of you who offered help.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-03T17:54:08.587Z
Answers.LastActivityDate: 2022-05-03T17:54:08.587Z
Answers.UserDisplayName: The Amateur
Body: <p>I am setting up a new install of CiviCRM on the latest Wordpress (self hosted). I am trying to set up membership types, but when I go to enter the Membership Organization, I get a &quot;Loading failed&quot; message (see screenshot). I have already created two contact records of type Organization, including the default org which this setup is for. I am logged in as the super admin, so it should not be a permissions error. Also, there are no existing membership types. Any ideas appreciated.
  Thanks.</p>
  <p><a href="https://i.sstatic.net/6LC44.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/6LC44.jpg" alt="enter image description here" /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-02T19:36:43.053Z
Comments.Text: If I can't get past this step, I can't use CiviCRM at all for this site. Anyone have any ideas please?
Comments.UserDisplayName: The Amateur
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-03T11:41:23.250Z
Comments.Text: check civicrm error log - That should give you an idea
Comments.UserDisplayName: Ramesh - ARTECH Consultancy
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-03T16:01:33.000Z
Comments.Text: Thanks for the suggestion Ramesh. Unfortunately, there is nothing in ConfigAndLog. I tried it with debugging and backtrace turned on as well. Is there another place I should be looking?
Comments.UserDisplayName: The Amateur
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-04T14:10:50.700Z
Comments.Text: Enable wp_debug and see if you are getting any PHP error
Comments.UserDisplayName: Ramesh - ARTECH Consultancy
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-04T19:17:08.107Z
Comments.Text: Thanks for the suggestion Ramesh. I tried that, but no errors appeared when I tried to add a new membership type and got "loading failed" again. It's a strange mystery!
Comments.UserDisplayName: The Amateur
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-05T09:29:22.200Z
Comments.Text: In that case try to install fresh copy of CiviCRM again and try the same - else share me your credential let me try to find the issue - send me your details to info@artechconsultancy.co.uk
Comments.UserDisplayName: Ramesh - ARTECH Consultancy
Tags: <wordpress><civimember><organization>
Title: Why do I get "loading failed" when trying to add Membership Organization to a new membership type?
ThreadText: # Why do I get "loading failed" when trying to add Membership Organization to a new membership type?
  
  (Asked by: username_0 on 2022-03-01)
  
  I am setting up a new install of CiviCRM on the latest Wordpress (self hosted). I am trying to set up membership types, but when I go to enter the Membership Organization, I get a "Loading failed" message (see screenshot). I have already created two contact records of type Organization, including the default org which this setup is for. I am logged in as the super admin, so it should not be a permissions error. Also, there are no existing membership types. Any ideas appreciated.
  Thanks.
  
  [![enter image description here](https://i.sstatic.net/6LC44.jpg)](https://i.sstatic.net/6LC44.jpg)
  
  **Tags:** wordpress, civimember, organization
  
  > **Comments:**
  > **username_0**: If I can't get past this step, I can't use CiviCRM at all for this site. Anyone have any ideas please?  
  > **username_1**: check civicrm error log - That should give you an idea  
  > **username_0**: Thanks for the suggestion Ramesh. Unfortunately, there is nothing in ConfigAndLog. I tried it with debugging and backtrace turned on as well. Is there another place I should be looking?  
  > **username_1**: Enable wp_debug and see if you are getting any PHP error  
  > **username_0**: Thanks for the suggestion Ramesh. I tried that, but no errors appeared when I tried to add a new membership type and got "loading failed" again. It's a strange mystery!  
  > **username_1**: In that case try to install fresh copy of CiviCRM again and try the same - else share me your credential let me try to find the issue - send me your details to info@artechconsultancy.co.uk  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-05-03. Score: 2 | Accepted answer
  
  Well, I finally tracked this down. But before I go into that, I should say that I initially worked around the issue by creating the Membership Types right in the Civi table using phpMyAdmin.
  
  Later, though, I noticed I was getting the same "Loading failed" when trying to add a tag to a contact using the tag tree popup. I also could not create a new mail message. It always got stuck on "initializing." So I went searching for more help and found an old [post on the CiviCRM community forum](https://forum.civicrm.org/index.php?topic=35850.0) by @Coleman that seemed to be related to the issues I was experiencing.
  
  Based on that post, I started to disable WordPress plugins. I narrowed it down to the **All In One WP Security** plugin. Then I narrowed it down to the plugin's firewall measures. Finally, I found the culprit, the "Enable legacy 5G Firewall Protection" setting. By unchecking that, I was able to restore proper functionality in CiviCRM.
  
  I hope this helps someone else out there who might be getting "loading failed" issues. It will most likely be related to the firewall and what is in the .htaccess file.
  
  Thanks again to those of you who offered help.
  
  
  ---
  
  