I tired to install... dropped UserTags into the modules folder and set the permissions, but when I went to the user pages, I got this error:

warning: Invalid argument supplied for foreach() in .../modules/user_tags/user_tags.module on line 375.

I am using Drupal 5.2 and have the the Taxonomy Manager installed. But I disabled the Taxonomy Manager and still got the same error.

Any help?

Comments

bluekite2000’s picture

Make sure you r using php 5.x

Jackezel’s picture

My hosting company (Site5) is currently using PHP Version 4.4.6 for my site, but says that if I put this code in my .htaccess file, it will switch to PHP Version 5.2.1:

AddHandler application/x-httpd-php5 .php

But if I add this code to my .htaccess file, will that mess up my Drupal installation?

Jackezel
www.veteran.com

nicholasthompson’s picture

Err We're running PHP 4.x and user_tags runs perfectly...

Usually those kinds of errors imply that a non-array is being passed into a foreach. Take a look at like 375 and try to find out where the array is coming from. It might be that the variable needs initialising first?

pomliane’s picture

Status: Active » Closed (won't fix)

This version of User Tags is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.