Download & Extend

Invalid argument supplied for foreach()

Project:Fill PDF
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,
when trying to use the "generate fields from PDF" i get the following error:

warning: Invalid argument supplied for foreach() in /path/to/site/sites/default/modules/fillpdf/fillpdf.module on line 515.

anyone come across this? My form has 140 fields, and i'd really prefer to not have to do this by hand.

thanks!

Server: FreeBSD 7.1
Drupal 6.13
fillpdf-6.x-1.2.tar.gz

Comments

#1

same here, but line is 514...

also, uploading a pdf put it in the right dir: sites\default\files\fillpdf
but in my case the site is not at the root, but in a subdirectory...
after uploading, the URL field reported does NOT contain the subdirectory... i have:
http://localhost/sites/default/files/fillpdf/richiesta.pdf
but it really must be:
http://localhost/drupal/sites/default/files/fillpdf/richiesta.pdf
as said, in the filesystem it's ok, it's only the reported url to be wrong...

#2

it's because the fillpdf servlet is offline for now, see http://drupal.org/node/545798

#3

Version:6.x-1.2» 6.x-1.x-dev
Category:support request» bug report
Status:active» fixed

servlet's back online, download the latest version & follow installation instructions. Re-open if still having trouble!

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.