Sorry, but you do not have the capability to view this topic
-
Supported
- Topics: 24
- Replies: 65
- Total posts: 89
Just can't stay awayPost count: 100When 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..