Create content > disknode > the following error appears:

warning: Invalid argument supplied for foreach() in /usr/local/psa/home/vhosts/eye-imagine.co.uk/httpdocs/ecre/modules/disknode/disknode.module on line 174.

Not sure if its me or the module?

Comments

elmuerte’s picture

Could be you, but just in case I made it a bit more fail-safe. But that error shouldn't even happen because it means the node wasn't initialized.
An updated download will be available within 24 hours

sijuwi’s picture

Nothing I do seems to get rid of it, so I'm rather stuck with it. Thanx for looking into it!

elmuerte’s picture

Assigned: Unassigned » elmuerte

Do you have any other custom modules installed?

sijuwi’s picture

Well
path.auto and taxonomy menu are the only two that didn't come with the package. Deactivating them has no effect. I reinstalled a previous version of disknode and there is no error?

elmuerte’s picture

That's because I added support for multiple files per node recently.
If you have the .module with the following text at the beginning:

$Id: disknode.module,v 1.8.2.7 2006/03/07 20:23:17 elmuerte Exp $

(or newer)
You should no longer get that error.

The module mentioned is in the current download package.

sijuwi’s picture

All clear now. Thanx!!

elmuerte’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)