Closed (fixed)
Project:
Basic E-news
Version:
7.x-1.0-alpha1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2011 at 17:56 UTC
Updated:
6 Aug 2012 at 18:41 UTC
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 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...