I think I've installed everything correctly, but I'm getting this error when I put the emogrifier file in the enews module folder:
Notice: Trying to get property of non-object in theme_enews_emogrify() (line 259 of C:\wamp\www\theming\sites\all\modules\enews\enews.module).
Notice: Trying to get property of non-object in theme_enews_emogrify() (line 264 of C:\wamp\www\theming\sites\all\modules\enews\enews.module).
Notice: Trying to get property of non-object in theme_enews_emogrify() (line 277 of C:\wamp\www\theming\sites\all\modules\enews\enews.module).
Is there a fix for this?
Thanks for the help.
Comments
Comment #1
cyxair CreditAttribution: cyxair commentedI also get this errors.
Here is the modifications I made to theme_enews_emogrify in enews.module to make emogrifier actually do something :
I Don't know if this is the best way to fix it, but it now does the job.
Comment #2
anouThanks cyxair ;-)
Added
$node = $array['node'];
after line 251 and did the trick.Comment #3
AaronBaumanFixes to theme later and many d7 issues included in latest 7.x-1.x-dev
http://drupalcode.org/project/enews.git/commit/daff3d171ed846bfcbca24ce9...