warning: array_keys(): The first argument should be an array in /var/www/reunionbuddy/sandbox/modules/og_galleries/og_galleries.module on line 418.

this error is thrown when i try to create a group in OG.

This is on a sandbox site that is a completely updated clean install this evening. I have event, OG, og galleries, image, and views installed.

Comments

pcdonohue’s picture

Hi,

if this is the same error I mentioned in the second part of

http://drupal.org/node/109116

I think the most recent releases of og_galleries.module fixed this.

You may need to look in CVS to get it
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/og_galleries/...

if your line 418 has
$tids = (array) array_keys( $node->taxonomy)

then the update to
$tids = (array) array_keys( (array) $node->taxonomy)

should fix it.

Patrick

karens’s picture

Status: Active » Fixed

Yes, should be fixed in latest cvs version, which will eventually make it to the tarball.

Anonymous’s picture

Status: Fixed » Closed (fixed)