Download & Extend

taxonomy patch causes invalid argument supplied for foreach() watchdog errors

Project:Advanced cache
Version:5.x-1.9
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

After having applied the Taxonomy patch I started getting the following error whenever anyone visits usernode pages.

Message Invalid argument supplied for foreach() in /var/www/vhosts/box/httpdocs/sites/all/modules/userpoints/userpoints.module on line 1711.

Line 1711 of userpoints module is:

foreach ($tree as $term) {

Is there anyway I can fix this?