Invalid argument supplied for foreach() in ../sites/all/modules/autotag/autotag.functions.inc on line 193
Getting a lot of these, thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | autotag-issue_695120.patch | 1.6 KB | dman |
Invalid argument supplied for foreach() in ../sites/all/modules/autotag/autotag.functions.inc on line 193
Getting a lot of these, thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | autotag-issue_695120.patch | 1.6 KB | dman |
Comments
Comment #1
chrisbuck commentedSame problem. Following.
Comment #2
interx commentedIn autotag.functions.inc on line 193 :
Just tried this module and encountered the same issue.
Just delete or commenting this block (or ad a check on $_POST['files']).
It is quite strange in the first place why a tagging module updates the upload table.
Also, it doesn't check if the "upload" module is installed, bypasses it's permissions and gets executed on an update of every node type.
Imo the entire update case should be removed or get a comment why it's needed.
Comment #3
Starminder commentedinterX - Thanks for a simple fix, is there any reason why this little tweak would make my admin menu disappear?
Comment #4
christopherareed commentedSame problem.
Comment #5
tobiberlinsubscribing, same here. Commenting the block solved the error message and nodes are still automatically tagged.
Comment #6
dman commentedSimple patch, and a fix for a warning elsewhere - wrong arguments to variable_get()
Comment #7
oldmoonlake commentedAfter applying the patch, following warning shows up whenever editing any node that is supposed to be autotagged.
warning: preg_match() expects parameter 2 to be string, array given in /home/sirnoa/public_html/includes/bootstrap.inc on line 777.
Comment #8
iantresman commentedI initially thought I received this error message, because I had no taxonomy defined. Then I defined one vocabulary and one term, but get the error message:
I have no boxes checked in the Autotag settings.
Comment #9
sposob commentedi had exactly the same problem, but the patch from #6 took actually care of everything. i didn't get another mistake and it works now.
Comment #10
sdrycroft commentedThis should be fixed in v2 of the code, apologies for not getting round to this sooner.