Warning Message on Membership Pro 2

Hello,

We have installed Membership Pro 2 plugin and is seeing the warning message below.

Warning: Invalid argument supplied for foreach() in /home/testuser/public_html/devsite/wp-content/plugins/membership/app/addon/searchindex/class-ms-addon-searchindex.php on line 184