This topic has 1 reply, 2 voices, and was last updated 9 years, 11 months ago by Fem.
Viewing 2 posts - 1 through 2 (of 2 total)
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..
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.