Your Time:
Our Time:
← Back to discussions

Functions.php file and Common Folder…

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 1 reply, 2 voices, and was last updated 9 years, 11 months ago by Fem.

  • 2014-08-13 at 4:32 pm
    Support Expired
    #5027
    FireHouseWH
    Participant
    • Topics: 24
    • Replies: 65
    • Total posts: 89
    • Post count: 100

    When I updated yesterday and tried using the functions.php file and the common folder withing the framework folder in the child theme that came with the update, I received this long list of errors on the wp-login page, and couldn’t login:

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-login.php on line 414

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-login.php on line 426

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 883

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 884

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 885

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 886

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 887

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 888

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 891

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 892

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 893

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 894

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 897

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 898

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 899

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinpos5/public_html/wp-content/themes/hostmev2-child/functions.php:280) in /home/pinpos5/public_html/wp-includes/pluggable.php on line 900

    And when I only replaced the previous functions.php file and leaving the common folder, I received this error, and still couldn’t login:

    Fatal error: Call to undefined function child_scripts() in /home/pinpos5/public_html/wp-content/themes/hostmev2-child/framework/common/head.php on line 70

    Yet when I replaced the previous functions.php file and removed the common folder, everything seemed to go back to normal, and I was then able to login…Is there something wrong with my child theme on the site, that would cause this to happen? Or is there no need worry at all? I just want to make sure this won’t be an issue in future updates if the site needs the functions.php file and common folder for any reason..

    2016-10-13 at 3:53 pm
    #17035
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Topic is Solved via Skype Communication. But if you want to update this topic please reply here.

You must be logged in to reply to this topic.