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.
Today the following notices started to appear after working on my theme.
Notice: Undefined index: highlighted in include() (line 124 of page.tpl.php).
Notice: Undefined index: sidebar_first in include() (line 136 of page.tpl.php).
Notice: Undefined index: sidebar_second in include() (line 142 of page.tpl.php).
Notice: Undefined variable: doctype in include() (line 1 of html.tpl.php).
Notice: Undefined variable: rdf in include() (line 2 of html.tpl.php).
Notice: Trying to get property of non-object in include() (line 2 of html.tpl.php).
Notice: Undefined variable: rdf in include() (line 2 of html.tpl.php).
Notice: Trying to get property of non-object in include() (line 2 of E:\web_folders\sites\agd.sa.gov.au\www\sites\agd.sa.gov.au\themes\omega\omega\templates\html.tpl.php).
Notice: Undefined variable: rdf in include() (line 3 of E:\web_folders\sites\agd.sa.gov.au\www\sites\agd.sa.gov.au\themes\omega\omega\templates\html.tpl.php).
Notice: Trying to get property of non-object in include() (line 3 of html.tpl.php).
I did not implement major changes, but maybe I caused cache to refresh, bringing out some issues that may have been there before?
I did some searching and it seems that changes to regions may have something to do with this. I removed the sidebar regions from my subtheme weeks ago but that never caused major issues...
Does anyone know how to tackle this? Much appreciated!
Comments
Comment #1
RedTop CreditAttribution: RedTop commentedI tracked the above issue to a module. Not Omega related.Comment #2
RedTop CreditAttribution: RedTop commentedUpdated: It was not due to a module after all...
The issue happens whenever I clear cache via the performance admin page. It breaks the site (near WSOD except for logo/site name - I use blockify) which I then have fix by clearing the contents of the cache table in the database...
Comment #3
marcoka CreditAttribution: marcoka commentedtest this with a clean drupal. i can not confirm it there. so other contribs are involved in this error.
Comment #4
RedTop CreditAttribution: RedTop commentedChecked it on a fresh install, same omega subtheme.. cannot recreate. Must indeed be contrib related.
Comment #5
RedTop CreditAttribution: RedTop commentedMail System caused the issue.
http://drupal.org/node/1613562
(Disabled all contribs and re-enabled them one-by-one.)
Comment #6
cinetik CreditAttribution: cinetik commentedI confirm disabling Mail System solves the issue .. not ideal :-s
Comment #6.0
cinetik CreditAttribution: cinetik commentedFurther details