While trying to import a fortune-mod file I got this error:

Fatal error: Cannot use object of type stdClass as array in /home/user/domains/domain.net/public_html/sites/all/modules/quotes/quotes.module on line 171

Comments

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Fixed

Fix committed to -dev version.

joncup’s picture

wow, you're too fast, i was about to upload a fix my self. changed some '[xxx]' to ->xxx on lines 171, 191, 193, and 194. thanks for the uberfast response

nancydru’s picture

I try.

joncup’s picture

opps, my fix only seemed to get rid of warnings, but my quotes are all blank, i think ill try yours.

update: apparently my fix was identical to yours. I'm going to file a separate issue for the blank imported quotes.

nancydru’s picture

Okay.

nancydru’s picture

Status: Fixed » Closed (fixed)