Cannot modify header information – pluggable.php
-
Hello,
My site has started to randomly lead to blank pages when I attempt to log in to both admin and regular user accounts. Activating debug has shown this:
Strict Standards: Redefining already defined constructor for class googlefonts in /home/printet1/public_html/wp-content/plugins/wp-google-fonts/google-fonts.php on line 140 Warning: Cannot modify header information – headers already sent by (output started at /home/printet1/public_html/wp-config.php:1) in /home/printet1/public_html/wp-includes/pluggable.php on line 913 Warning: Cannot modify header information – headers already sent by (output started at /home/printet1/public_html/wp-config.php:1) in /home/printet1/public_html/wp-includes/pluggable.php on line 914 Warning: Cannot modify header information – headers already sent by (output started at /home/printet1/public_html/wp-config.php:1) in /home/printet1/public_html/wp-includes/pluggable.php on line 915 Warning: Cannot modify header information – headers already sent by (output started at /home/printet1/public_html/wp-config.php:1) in /home/printet1/public_html/wp-includes/pluggable.php on line 1173
Being new to wordpress, I have found previous forum pages outlining fixes to this error, but have found none relating to the pluggable.php. Please forgive me if the solution is obvious.
Line 140-144 of the google-fonts.php shows:
function __construct(){ //Language Setup $locale = get_locale(); $mo = dirname(__FILE__) . "/languages/" . $this->localizationDomain . "-".$locale.".mo"; load_textdomain($this->localizationDomain, $mo);
Lines 913-915 of pluggable.php have:
setcookie($auth_cookie_name, $auth_cookie, $expire, PLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure, true); setcookie($auth_cookie_name, $auth_cookie, $expire, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, $secure, true); setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, COOKIEPATH, COOKIE_DOMAIN, $secure_logged_in_cookie, true);
There is nothing on line 1173. I am not sure if these lines are relevant but hopefully they will help to find a solution.
Any and all help will be greatly appreciated.
Thanks!
- The topic ‘Cannot modify header information – pluggable.php’ is closed to new replies.