Closed (won't fix)
Project:
User Tags
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2007 at 23:44 UTC
Updated:
3 Feb 2013 at 18:04 UTC
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
Comment #1
bluekite2000 commentedMake sure you r using php 5.x
Comment #2
Jackezel commentedMy 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
Comment #3
nicholasthompsonErr 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?
Comment #4
pomliane commentedThis 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.