I see this appearing in a few posts in this forum and often the answer is along the lines of ‘This is just a PHP warning and doesn’t affect any functionality of your website.’ and advice is to use CSS or update wp-config.php to hide the warnings from the front-end.
I am seeing this warning suddenly appear and I’d like to better understand the ‘why’ and more appropriate resolution behind this than hiding the warning. Seeing the PHP warnings are useful for developers and I don’t necessarily want to sweep any problems under the rug only to bury more important warnings without realising it.
**Warning: Undefined array key "layoutHeader" in /code/wp-content/themes/pro/cornerstone/includes/classes/Services/Assignments.php on line 103**
**Warning: Undefined array key "layoutFooter" in /code/wp-content/themes/pro/cornerstone/includes/classes/Services/Assignments.php on line 107**
Any thoughts on what’s happening and wether this should be raised as a bug?
Thanks,
Michael