I am using File (Field) Paths.

Modules:

Drupal 7.18
Token 7.x-1.x-dev
File (Field) Paths 7.x-1.x-dev

Error message

Warning: Invalid argument supplied for foreach() filefield_paths_entity_update() függvényben (D:\htdocs\__drupal7\sites\all\modules\filefield_paths\filefield_paths.module 232 sor).

What's wrong?

Comments

Status:Active» Postponed (maintainer needs more info)

Please provide some more information, preferably step-by-step instructions to reproduce this issue.

However, based on the code, this error should be impossible, because the line before the erring line is a conditional statement to ensure that there is a valid argument for the foreach() statement, and as the data is provided by the Fields system, the only reason it could be malformed is if something else was getting involved.

Happy to help further if you can provide more information.

Cheers,
Deciphered.

Issue summary:View changes

I get this same error if I have active updating enabled for my filefield, and I update the content of a node, I receive this error.

I've tried beta4 and the latest dev and I receive this error with both.

Version:7.x-1.x-dev» 7.x-1.0-beta4
Assigned:vikicica22» Unassigned
Status:Postponed (maintainer needs more info)» Closed (cannot reproduce)

I have just tested for this error with what little information is given, and cannot reproduce.

The original error refers to line 232, which is an empty line in the current dev version. Hence, going to close under the presumption that the error no longer occurs in current version.

Late edit: This may be related to a fix in the current dev #1985280: Warning: Invalid argument supplied for foreach() in filefield_paths_entity_update()