Warning error in Directory listings


I am getting the following message in my directory listings under the rate this line.

Warning: Invalid argument supplied for foreach() in /nfs/c09/h01/mnt/127207/domains/naturaltransition.com/html/wp-content/plugins/directory/ui-front/general/display-custom-fields-values.php on line 45

I am running version 3.3.1, Directory 2.0.3 and custom press 1.2.

I have temporarily changed the permissions on the themes folder to 777 as mentioned in the custom press settings.

Any ideas?