Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My site uses Organic Groups, Views, Panels and has custom pages for these elemnst. On Page load I get te following error: Notice: Undefined property: stdClass::$teaser in lc3_clean_preprocess_node() (line 142 of /Applications/MAMP/htdocs/filestore/sites/all/themes/lc3_clean/preprocess.inc).
Comments
Comment #1
litecommerce CreditAttribution: litecommerce commentedLudwig, try to apply this patch: http://drupalcode.org/project/lc3_clean.git/commitdiff/979e0b1a0f6a57ee3...
Thank you for the report!
Comment #2
Ludwig CreditAttribution: Ludwig commentedThanks for the response but…
I tried to apply the patch, but now I have the white screen of death.
I would point out that I'm not that experienced at applying patches
I understand that "-" equals remove that line and replace it with the code marked "+"
I've done that, restarted MAMP but the result is the WSOD
EDIT: I went in via /admin and changed to a different theme (Bartik) the site then works OK
If not too much of a problem could you attach the *patched file* rather than the patch file?
Comment #3
litecommerce CreditAttribution: litecommerce commentedYou can download this file directly from git: http://drupalcode.org/project/lc3_clean.git/blob_plain/979e0b1a0f6a57ee3...
Comment #4
Ludwig CreditAttribution: Ludwig commentedThanks, that works:-)
Comment #5
litecommerce CreditAttribution: litecommerce commentedYou are welcome :)