1

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

  • relates to an outdated version - can we undo the bumping? – user4278 Jul 19 '18 at 11:51
0

This is fixed in later versions.

  • This issue is indeed fixed. – Norm Dressler Jul 20 '18 at 12:40
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 for how to fix this manually if you're SQL-savvy.

  • 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. – Norm Dressler Dec 22 '17 at 11:57
  • 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! – Jon G - Megaphone Tech Dec 22 '17 at 23:05
  • 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. – Norm Dressler Dec 29 '17 at 16:36
  • 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. – Norm Dressler Jan 3 '18 at 20:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.