I'm on CiviCRM 5.6.0 on WordPress 4.9.8, and I have created some custom relationships, all with contact type A of individual, and contact type B of organization.
When I go to Search -> Advanced Search and expand the Relationships section, I get this notice: Network Error Unable to reach the server. Please refresh this page in your browser and try again.
When I check the logs, this is the full error message that occurs when I expand the Relationships section:
[Wed Oct 24 15:42:05.499499 2018] [proxy_fcgi:error] [pid 32638:tid 140566905980672] [client X.X.X.X:56697] AH01071: Got error 'PHP message: PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Contact/Form/Search.php on line 301\nPHP message: PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Contact/Form/Search.php on line 301\n', referer: https://XXXX/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fcontact%2Fsearch%2Fadvanced&reset=1
On another instance of CiviCRM 5.5.2, also on WordPress, on which I have not created any custom relationship types, I do not get this error. I tried disabling all the custom relationships I created in the instance on which I'm having issues but the error still occurs.
Anyone have any ideas on what might be going on? Thanks.
Element 'custom_37_from' does not exist in HTML_QuickForm::addRule()
There's more to the error message but that seems to be the crux of it. I'm not sure what it's trying to reference that no longer exists, but I'll dig further. If anyone has guidance I'm all ears! Thanks. – Matt Woodward Oct 26 '18 at 17:42