backdrop-contrib / instagram_block

A port of the Instagram block Drupal 7 module to BackdropCMS
GNU General Public License v2.0
1 stars 1 forks source link

Throwing errors for comments and likes #4

Open TeamTriplo opened 5 years ago

TeamTriplo commented 5 years ago

The following warning message is appearing repeatedly in my recent log messages:

Warning: Invalid argument supplied for foreach() in InstagramPost->get_likes() (line 270 of /var/www/.../modules/instagram_block/instagram_block.lib.php).

The same issue was reported for Drupal 7 module with the same name. A patch was created for this issue, and it was committed. I was able to apply the same patch to the Backdrop module, and I will see if this resolves the issue.

The Drupal 7 issue is at https://www.drupal.org/project/instagram_block/issues/2743421