Drupal 7.0 with Styles 7.x-2.0-alpha1, Multiform CVS HEAD, Media CVS HEAD, Media_Gallery CVS HEAD.

When trying to open the config page for the Gallery Module i get this error
"Fatal error: Cannot access empty property in /home/kurenai/public_html/eratotesting/modules/field/field.attach.inc on line 198"

Other than that D7 seems stable. Just totally unable to configure the media_gallery module.

Comments

Aonoa’s picture

Opening the configuration page for the media gallery (head, after manually applying an undefined index patch) module is not a problem with my installations. Using media-head, media-youtube alpha4, multiform beta1, styles alpha4.

Best regards,
Ao

TechDragon’s picture

Ill have to try this combination.

mjbirdge’s picture

I have the same error as TechDragon, with the following error when I try to access the "All Galleries" configuration page:

Fatal error: Cannot access empty property in ~/html/alpha/modules/field/field.attach.inc on line 197

The following notice shows up in the error log:

Notice: Undefined index: field_name in _field_invoke() (line 188 of ~/html/alpha/modules/field/field.attach.inc).

I am using media-gallery 7.x-1.0-beta5, although the problem still exists in 7.x-2.0-unstable1 and 7.x-2.x-dev as well.

Oddly enough, I have another Drupal site running 7.x-1.0-beta5 and the same version of the media modules with no problems. I'm wondering if this is caused by either another module not playing nicely, or something that isn't updated correctly in the database when upgrading between older versions.

If any information would help figure out the cause, please let me know and I'd be happy to post some diagnostic information.

Thanks!

lionheart8’s picture

Version: 7.x-1.0-beta2 » 7.x-1.0-beta6

I get exactly the same error (Fatal error: Cannot access empty property in /home2/woof/public_html/modules/field/field.attach.inc on line 197)

So it's not possible to access the configuration page and going to the create gallery page, u get a whole page full of errors.

Notice: Undefined index: media_gallery_columns in media_gallery_form_media_gallery_node_form_alter() (line 893 of /home2/woof/public_html/sites/default/modules/media_gallery/media_gallery.module).
Notice: Undefined index: media_gallery_columns in media_gallery_form_media_gallery_node_form_alter() (line 898 of /home2/woof/public_html/sites/default/modules/media_gallery/media_gallery.module).
Notice: Undefined index: media_gallery_rows in media_gallery_form_media_gallery_node_form_alter() (line 893 of /home2/woof/public_html/sites/default/modules/media_gallery/media_gallery.module).
...

I'm using the latest versions of all the recommended modules in the readme file.

Moreover these errors:

Error message
Notice: Undefined property: stdClass::$media_gallery_media in media_gallery_node_load() (line 211 of /home2/woof/public_html/sites/default/modules/media_gallery/media_gallery.module).

Fatal error: Cannot use object of type stdClass as array in /home2/woof/public_html/sites/default/themes/gammaCurrent/preprocess/preprocess-node.inc on line 13

appear, the second on the front page, with the effect that the page gets deformed with the dynamic display block slideshow being interfered with & not working & the layout fatally affected.

EntityFieldQueryException: Unknown field: media_gallery_expose_block in EntityFieldQuery->addFieldCondition() (line 755 of /home2/woof/public_html/includes/entity.inc).

The theme loads properly on the frontpage only when media gallery is disabled.

Quite unfortunate, I urgently needed this.

lsolesen’s picture

Status: Active » Postponed (maintainer needs more info)

How is it with beta7 - are the errors still present?

lsolesen’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
lionheart8’s picture

Hi

I have just accidentally been again on this page ... ;)

Referring to my post #4 above ...

It is quite a while since I posted my support request & I do not remember the details, BUT, I noted have been using beta 7 for several weeks ...
A check on the Create a gallery & configuration pages shows no errors.
The only errors on media gallery-related pages is described here => http://drupal.org/node/1616272, but may be it has to do with the sexybookmarks module.

Kind regards