Warning: Invalid argument supplied for foreach() in /wp-content/plugins/directory/ui-front/general/d

I installed the Directory plugin.

I created a few categories.

I added a listing.

I went to view the listing.

Under the list the following message appears:

Warning: Invalid argument supplied for foreach() in /wp-content/plugins/directory/ui-front/general/display-custom-fields-values.php on line 45

I have removed my hosting info from the error message.

I have now deactivated the plugin after deactivating and reactivating the plugin.