Answers.Body: <p>This is fixed in later versions.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-20T12:40:33.233Z
Answers.Text: This issue is indeed fixed.
Answers.UserDisplayName: Norm Dressler
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-19T11:52:16.593Z
Answers.LastActivityDate: 2018-07-19T11:52:16.593Z
Answers.UserDisplayName: user4278
Answers.Body: <p>This is most likely happen on the page load after you press the "Fix Missing Indices" button on the Administration Status page.  A more permanent automated fix is being worked on, but is fairly difficult.  You can see the <a href="https://civicrm.stackexchange.com/questions/18487/how-to-find-and-or-fix-missing-indices">answer here</a> for how to fix this manually if you're SQL-savvy.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-22T11:57:59.007Z
Answers.Text: I don't see any errors in the log file.  It seems to disappear after I clear the cache, then after a time working on the system comes back.
Answers.UserDisplayName: Norm Dressler
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-22T23:05:25.873Z
Answers.Text: If you follow the instructions on the linked answer, does the problem go away?  Please take a backup (and ideally use a test site) before trying this!
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-29T16:36:29.273Z
Answers.Text: No the problem does not go away.  I cannot seem to determine the cause.  It happens usually when I connect first time after a long period of time.  Not there for the remainder of my session it seems.  Very weird.
Answers.UserDisplayName: Norm Dressler
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-03T20:16:46.043Z
Answers.Text: Anyone out there that can help with this?  Error is still there and the linked answer is not my issue it seems - there are no errors in the log file.  According to the schemahandler.php file, the previous comparison between existing and required indexes failed because there is missing data in the for loop.
Answers.UserDisplayName: Norm Dressler
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-21T04:36:27.730Z
Answers.LastActivityDate: 2017-12-21T04:36:27.730Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I'm getting randomly the errors below when I go to an admin page.  They don't always happen.  Any idea what this is?</p>
  
  <p>Warning: Invalid argument supplied for foreach() in /home/sporti62/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/SchemaHandler.php on line 750</p>
  
  <p>Warning: Invalid argument supplied for foreach() in /home/sporti62/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/SchemaHandler.php on line 750</p>
  
  <p>Usually get a bunch of these...</p>
  
  <p>PHP version 5.6.32
  CiviCRM 4.7.28
  Wordpress 4.9.1</p>
  
  <p><a href="https://i.sstatic.net/GJhpe.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/GJhpe.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-19T11:51:59.277Z
Comments.Text: relates to an outdated version - can we undo the bumping?
Comments.UserDisplayName: user4278
Tags: <error><admin>
Title: Errors only randomly on admin pages
ThreadText: # Errors only randomly on admin pages
  
  (Asked by: username_0 on 2017-12-21)
  
  I'm getting randomly the errors below when I go to an admin page. They don't always happen. Any idea what this is?
  
  Warning: Invalid argument supplied for foreach() in /home/sporti62/public\_html/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/SchemaHandler.php on line 750
  
  Warning: Invalid argument supplied for foreach() in /home/sporti62/public\_html/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/SchemaHandler.php on line 750
  
  Usually get a bunch of these...
  
  PHP version 5.6.32
  CiviCRM 4.7.28
  Wordpress 4.9.1
  
  [![enter image description here](https://i.sstatic.net/GJhpe.png)](https://i.sstatic.net/GJhpe.png)
  
  **Tags:** error, admin
  
  > **Comments:**
  > **username_1**: relates to an outdated version - can we undo the bumping?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2018-07-19. Score: 0 | Accepted answer
  
  This is fixed in later versions.
  
  > **Comments:**
  > **username_0**: This issue is indeed fixed.  
  
  ---
  
  ### Answer by username_2 on 2017-12-21. Score: 1
  
  This is most likely happen on the page load after you press the "Fix Missing Indices" button on the Administration Status page. A more permanent automated fix is being worked on, but is fairly difficult. You can see the [answer here](https://civicrm.stackexchange.com/questions/18487/how-to-find-and-or-fix-missing-indices) for how to fix this manually if you're SQL-savvy.
  
  > **Comments:**
  > **username_0**: I don't see any errors in the log file.  It seems to disappear after I clear the cache, then after a time working on the system comes back.  
  > **username_2**: If you follow the instructions on the linked answer, does the problem go away?  Please take a backup (and ideally use a test site) before trying this!  
  > **username_0**: No the problem does not go away.  I cannot seem to determine the cause.  It happens usually when I connect first time after a long period of time.  Not there for the remainder of my session it seems.  Very weird.  
  > **username_0**: Anyone out there that can help with this?  Error is still there and the linked answer is not my issue it seems - there are no errors in the log file.  According to the schemahandler.php file, the previous comparison between existing and required indexes failed because there is missing data in the for loop.  
  
  ---
  
  