I'm trying to setup Media & Media Gallery in a Fresh D7.0 codebase with the Gamma Theme (7.x-2.0-beta1). When I try to load the Galleries I get the following:

Fatal error: Cannot use object of type stdClass as array in /home/renaudj/public_html/d7one/sites/all/themes/gamma/preprocess/preprocess-node.inc on line 13

- D7.0 with default language set to French
- Media 7.x-1.0-beta2 (same for Media Gallery & Media Internet Sources)
- Entity API 7.x-1.0-beta6
- Multiple forms 7.x-1.0-beta1
- Styles 7.x-2.x-dev

Back to Bartik for a while I guess... :-)
p.s. I have other (different) issues with the current setup even with Bartik.

Comments

himerus’s picture

First off, sorry, my email notifications for Gamma issues weren't coming to me...

I'll have a look into this, and see what I can locate.

himerus’s picture

Can you recheck this with updates for Omega & Gamma??
If that doesn't solve it, I'll have to do some more digging.

bisonbleu’s picture

Hello Himerus,

I deleted the database, created a new one and reinstalled D7 core (in French). I also installed the following:
- omega-7.x-2.0-beta1.tar.gz
- gamma-7.x-2.0-beta3.tar.gz

When I enable and set Gamma as default I get the same error 8 times:

Notice: Undefined index: menu_data dans include() (ligne 178 dans /home/stick/public_html/d7one/sites/all/themes/omega/omega/preprocess/preprocess-page.inc)..

Hum...

himerus’s picture

Status: Active » Fixed

This was an error in Omega beta1... beta2 fixes that issue..

bisonbleu’s picture

Indeed... I missed out on beta2 and the site now loads as it should. That's great, thanks.

On the darker side of things, Media Gallery generates a fatal error... Fatal error: Cannot use object of type stdClass as array in /home/xxx/public_html/d7one/sites/all/themes/gamma/preprocess/preprocess-node.inc on line 13

You can see it here (while it lasts) http://renaudjoubert.com/d7one/ by going to Galleries.

p.s. There's not enough geek in me to fully appreciate the Greek alphabet (OmegaGammaDelta), but the impression I get is pretty awsome...

Status: Fixed » Closed (fixed)

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