Hi, I'm facing this error while runing the cron

"warning: Invalid argument supplied for foreach() in /var/www/html/unipepper/modules/ipaper/ipaper.module on line 738."

Comments

rares’s picture

Do you have any documents in your scribd account (whether by upload, ipaper module, quickswitch etc.)?

careyhung’s picture

I've applied a new scribd account on my site, and there is no documents in this account at this point

rares’s picture

that is why foreach has nothing to go through. I will add an 'if' to handle that in the next release.
Rareş

nirvanajyothi’s picture

Me too getting the same error for fresh install on fresh scribd account.

So doesnt this error go away after a document has been uploaded...it doesnt seem to.

rares’s picture

Status: Active » Fixed

I've added a check if docs.search returns a null set in release candidate 1, so the error should have disappeared.

Status: Fixed » Closed (fixed)

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