‘eval()’d code’ error in core.functions.php
Error: You have debugging turned on and receive an error similar to this:
Notice: Undefined index: baboon in /xxxx/core/core.functions.php(509) : eval()'d code on line 3
The specifics of the Notice or Warning may vary, but the error states it is in core.functions.php in the eval()’d code.
Explanation: This indicates that you have a problem with some PHP you’re using in your Template. The part of the backend code that takes care of parsing the PHP code you put in a Template is located in core.functions.php, which is why the error looks as though it’s in that file. Some common errors:
Notice: Undefined variable: You have a PHP variable in your code that hasn’t been set or defined before you use it.
Notice: Undefined index: You are using an array member which does not exist or has not been set.
Warning: Cannot modify header information: Most likely, you have some space or blank lines in a PHP file before or after the opening/closing PHP tag.
