Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12606

    This morning I was debugging my site and these notices and warnings came up.

    Notice: Use of undefined constant ‘wp_head’ – assumed ‘‘wp_head’’ in /public_html/wp-content/themes/abundance2/functions.php on line 11

    Notice: Use of undefined constant ‘wp_generator’ – assumed ‘‘wp_generator’’ in /public_html/wp-content/themes/abundance2/functions.php on line 11

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/themes/abundance2/functions.php:11) in /public_html/wp-includes/pluggable.php on line 866

    The site won’t even load. But when I have the debug function off, the site works fine. The reason why I was debugging was due to a woo e-commerce plug-in that is not working. But could someone please let me know why these notices and warnings are coming? Is there something that I need to fix?

    Thanks

    #76123

    Hey plastikm,

    I’m not sure what that could mean. I’ve referred the topic to another support crew to take a look at just in case its a sign of something that needs addressing.

    Regards,

    Devin

    #76124

    Hey!

    I couldn’t find this constant in functions.php too. Maybe it’s a custom code?

    Regards,

    Peter

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Notices and warning’ is closed to new replies.