Warning: Invalid argument supplied


I have been adding extension contrib modules and recently started getting the following warning message out of the blue.

Warning: Invalid argument supplied for foreach() in opigno_class_app_views_query_alter() (line 408 of /home/liikanjitsu/public_html/mindsets.eu/pedles/dev_d7-opigno/profiles/opigno_lms/modules/opigno/opigno_class_app/opigno_class_app.module). 

I have not touch the Opigno profile/apps, nor the views module so far.

Can anyone tell me what is or has gone wrong and how to fix it?



Drupal version: 

Source: https://www.drupal.org/taxonomy/term/22/feed