Answers.Body: <p>I looks like <a href="https://issues.civicrm.org/jira/browse/CRM-18567" rel="nofollow">CRM-18567</a> and <a href="https://issues.civicrm.org/jira/browse/CRM-18504" rel="nofollow">CRM-18504</a></p>
  
  <p>Have a look at Chris Burgess <a href="https://issues.civicrm.org/jira/browse/CRM-18504?focusedCommentId=88586&amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-88586" rel="nofollow">comment</a>, there are couple of commits that seem to fix the issue.</p>
  
  <p><a href="https://github.com/fuzionnz/civicrm-core/commit/a0bcc16171d2f30c4416aeec079bab56c313390a" rel="nofollow">https://github.com/fuzionnz/civicrm-core/commit/a0bcc16171d2f30c4416aeec079bab56c313390a</a>
  <a href="https://github.com/fuzionnz/civicrm-core/commit/d3e9ab21a0f2256197125854fe6312c3fa0c8c8a" rel="nofollow">https://github.com/fuzionnz/civicrm-core/commit/d3e9ab21a0f2256197125854fe6312c3fa0c8c8a</a></p>
  
  <p>I would recommend to create a backup or replicate your installation in a development environment, apply the commits mentioned and check if it solves the issue. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-18T10:17:16.153Z
Answers.Text: Thanks: it is nice to know the problem is probably getting solved already.
  I looked at the two github pages with the changed files. What is the best way to copy the changed files, or: is there a way to avoid copy-pasting every change manually?
Answers.UserDisplayName: Paul Kleingeld
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-19T14:16:22.387Z
Answers.Text: Okay: made a local installation, and manually edited customGroup.php using the code found in https://github.com/fuzionnz/civicrm-core/commit/a0bcc16171d2f30c4416aeec079bab56c313390a?diff=unified, and all seems well again!
Answers.UserDisplayName: Paul Kleingeld
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-19T14:42:57.947Z
Answers.Text: If you are familiar with git, here's how you apply a patch via git so you don't have to manually edit the files: http://civicrm.stackexchange.com/a/4626/872 Also feel free to accept the answer so we keep Stackexchange happy
Answers.UserDisplayName: Andrei
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-20T12:27:56.257Z
Answers.Text: Thanks Andrei for leading me to the solution of this issue. I am not at this moment enough of a commandline pro to apply the patch in one go, alas. But I got there in the end: copying and pasting solved the issue for me.
Answers.UserDisplayName: Paul Kleingeld
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T20:30:57.480Z
Answers.Text: Civi version 4.6.17 works correct, so the problem got solved.
Answers.UserDisplayName: Paul Kleingeld
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-17T16:17:19.623Z
Answers.LastActivityDate: 2016-05-17T16:17:19.623Z
Answers.UserDisplayName: Andrei
Body: <p>After succesfull updating civicrm 4.6.15 to 4.6.16 (files are installed database is updated), I find that access to contactdata in the admin side of my joomla 3.5.1 website has gone. I get a white screen, and after going back to the previous page I get an error notive that says: "Invalid Entity Filter"</p>
  
  <p>I flushed the cache but that does not change anything.
  At the frontend of the website I can change my contactdata and save them and get the usual okay message after that. I cannot open the samen contactdata in the backend.
  I recreated the site from a backup updated again and got the same results again.</p>
  
  <p>I updated another joomla 3.5.1 site with the same civi version 4.6.15 and that went without any problems.</p>
  
  <p>I set error reporting to maximum in Joomla and do not get any errormessages at all only an empty white screen.</p>
  
  <p>As advised in the comment below I checked the error log inside civicrm.</p>
  
  <p>I got this error-message in a sea of messages:</p>
  
  <pre><code>"$Fatal Error Details = array(3) {
    ["message"]=&gt;
    string(21) "Invalid Entity Filter"
    ["code"]=&gt;
    NULL
    ["exception"]=&gt;
    object(CRM_Core_Exception)#448 (10) {
      ["errorData":"CRM_Core_Exception":private]=&gt;
      array(1) {
        ["error_code"]=&gt;
        int(0)
      }
      ["cause":protected]=&gt;
      NULL
      ["_trace":"PEAR_Exception":private]=&gt;
      NULL
      ["message":protected]=&gt;
      string(21) "Invalid Entity Filter"
      ["string":"Exception":private]=&gt;
      string(0) ""
      ["code":protected]=&gt;
      int(0)
      ["file":protected]=&gt;
      string(105) "/home/--deleted--/civi/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/CustomGroup.php"
      ["line":protected]=&gt;
      int(658)
      ["trace":"Exception":private]=&gt;
      array(14) {
        [0]=&gt;
        array(6) {
          ["file"]=&gt;
          string(105) "/home/--deleted--/civi/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/CustomGroup.php"
          ["line"]=&gt;
          int(449)
          ["function"]=&gt;
          string(23) "validateSubTypeByEntity"
          ["class"]=&gt;
          string(24) "CRM_Core_BAO_CustomGroup"
          ["type"]=&gt;
          string(2) "::"
          ["args"]=&gt;
          array(2) {
            [0]=&gt;
            string(10) "Individual"
            [1]=&gt;
            string(14) "Verenigingslid"
          }"
  </code></pre>
  
  <p>So: the code trows an exception. However I do not know why. I am logged in in the backend of joomla as superuser, so I should getaccess to all groups in civicrm, with no private execeptions???</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-16T23:01:10.713Z
Comments.Text: I would start checking error logs in this order, CiviCRM, PHP, Apache/NginX and report back, let me know if you don't know how to access these error logs and I'll give instructions.
Comments.UserDisplayName: Andrei
Tags: <joomla><error><upgrade>
Title: After updating civi 4.6.15 to 4.6.16 no access to contacts
ThreadText: # After updating civi 4.6.15 to 4.6.16 no access to contacts
  
  (Asked by: username_0 on 2016-05-16)
  
  After succesfull updating civicrm 4.6.15 to 4.6.16 (files are installed database is updated), I find that access to contactdata in the admin side of my joomla 3.5.1 website has gone. I get a white screen, and after going back to the previous page I get an error notive that says: "Invalid Entity Filter"
  
  I flushed the cache but that does not change anything.
  At the frontend of the website I can change my contactdata and save them and get the usual okay message after that. I cannot open the samen contactdata in the backend.
  I recreated the site from a backup updated again and got the same results again.
  
  I updated another joomla 3.5.1 site with the same civi version 4.6.15 and that went without any problems.
  
  I set error reporting to maximum in Joomla and do not get any errormessages at all only an empty white screen.
  
  As advised in the comment below I checked the error log inside civicrm.
  
  I got this error-message in a sea of messages:
  
  ```
  "$Fatal Error Details = array(3) {
    ["message"]=>
    string(21) "Invalid Entity Filter"
    ["code"]=>
    NULL
    ["exception"]=>
    object(CRM_Core_Exception)#448 (10) {
      ["errorData":"CRM_Core_Exception":private]=>
      array(1) {
        ["error_code"]=>
        int(0)
      }
      ["cause":protected]=>
      NULL
      ["_trace":"PEAR_Exception":private]=>
      NULL
      ["message":protected]=>
      string(21) "Invalid Entity Filter"
      ["string":"Exception":private]=>
      string(0) ""
      ["code":protected]=>
      int(0)
      ["file":protected]=>
      string(105) "/home/--deleted--/civi/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/CustomGroup.php"
      ["line":protected]=>
      int(658)
      ["trace":"Exception":private]=>
      array(14) {
        [0]=>
        array(6) {
          ["file"]=>
          string(105) "/home/--deleted--/civi/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/CustomGroup.php"
          ["line"]=>
          int(449)
          ["function"]=>
          string(23) "validateSubTypeByEntity"
          ["class"]=>
          string(24) "CRM_Core_BAO_CustomGroup"
          ["type"]=>
          string(2) "::"
          ["args"]=>
          array(2) {
            [0]=>
            string(10) "Individual"
            [1]=>
            string(14) "Verenigingslid"
          }"
  
  ```
  
  So: the code trows an exception. However I do not know why. I am logged in in the backend of joomla as superuser, so I should getaccess to all groups in civicrm, with no private execeptions???
  
  **Tags:** joomla, error, upgrade
  
  > **Comments:**
  > **username_1**: I would start checking error logs in this order, CiviCRM, PHP, Apache/NginX and report back, let me know if you don't know how to access these error logs and I'll give instructions.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-05-17. Score: 2 | Accepted answer
  
  I looks like [CRM-18567](https://issues.civicrm.org/jira/browse/CRM-18567) and [CRM-18504](https://issues.civicrm.org/jira/browse/CRM-18504)
  
  Have a look at Chris Burgess [comment](https://issues.civicrm.org/jira/browse/CRM-18504?focusedCommentId=88586&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-88586), there are couple of commits that seem to fix the issue.
  
  <https://github.com/fuzionnz/civicrm-core/commit/a0bcc16171d2f30c4416aeec079bab56c313390a>
  <https://github.com/fuzionnz/civicrm-core/commit/d3e9ab21a0f2256197125854fe6312c3fa0c8c8a>
  
  I would recommend to create a backup or replicate your installation in a development environment, apply the commits mentioned and check if it solves the issue.
  
  > **Comments:**
  > **username_0**: Thanks: it is nice to know the problem is probably getting solved already. I looked at the two github pages with the changed files. What is the best way to copy the changed files, or: is there a way to avoid copy-pasting every change manually?  
  > **username_0**: Okay: made a local installation, and manually edited customGroup.php using the code found in https://github.com/fuzionnz/civicrm-core/commit/a0bcc16171d2f30c4416aeec079bab56c313390a?diff=unified, and all seems well again!  
  > **username_1**: If you are familiar with git, here's how you apply a patch via git so you don't have to manually edit the files: http://civicrm.stackexchange.com/a/4626/872 Also feel free to accept the answer so we keep Stackexchange happy  
  > **username_0**: Thanks username_1 for leading me to the solution of this issue. I am not at this moment enough of a commandline pro to apply the patch in one go, alas. But I got there in the end: copying and pasting solved the issue for me.  
  > **username_0**: Civi version 4.6.17 works correct, so the problem got solved.  
  
  ---
  
  