• I have recently ran into a weird cookie problem with wordpress that occured without updating or changing anything.

    Summary
    The WordPress was a recent install with a new theme ( pearl: themeforest ). I have this theme installed on multiple websites and they are all working fine.

    One day the newest site simply would not let me log in. I have tried to search for solutions over the past 3 weeks but it has gotten me nowhere. The theme provider tells me its WordPress related and wouldn’t offer help and the hosting provider doesn’t provide any support.

    Following Errors
    Warning: Cookie paths cannot contain any of the following ‘,; \t\r\n\013\014’ in -removed-/tyvanrenovation/wp-login.php on line 468

    Warning: Cannot modify header information – headers already sent by (output started at -removed-/tyvanrenovation/wp-login.php:468) in -removed-/tyvanrenovation/wp-login.php on line 470

    Warning: Cannot modify header information – headers already sent by (output started at -removed-/tyvanrenovation/wp-login.php:468) in -removed-/tyvanrenovation/wp-includes/pluggable.php on line 928

    Warning: Cannot modify header information – headers already sent by (output started at -removed-/tyvanrenovation/wp-login.php:468) in -removed-/tyvanrenovation/wp-includes/pluggable.php on line 929

    Warning: Cookie paths cannot contain any of the following ‘,; \t\r\n\013\014’ in -removed-/tyvanrenovation/wp-includes/pluggable.php on line 930

    Warning: Cannot modify header information – headers already sent by (output started at -removed-/tyvanrenovation/wp-login.php:468) in -removed-/tyvanrenovation/wp-includes/pluggable.php on line 932

    I am unsure how to go about fixing this issue and would like to avoid having to remake the entire site if possible.

    • This topic was modified 4 years, 9 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Looks like a plugin or the theme is trying to change something on the wp-login.php page (such as the wp logo) and is possibly outdated code (or just broken). Only way to fix it is to find the cause, first step is to rename the plugins folder (via ftp) which will disable all the plugins. Does the site start working? If so, then you need to delete them all and install them one by one til the issue re-appears.

    If that doesn’t work then try a different theme, you may have used the theme without issue before but the theme may not be compatible with a plugin or a new version of WP and causing the error.

    Perhaps a silly question; have you tried to access the login page directly? For instance, YourSite.com/wp-admin/ In other words, go directly to the wp-admin page without first going to your home page or any other site page. (you might have to clear your browser cachce).

    If there are no plugins or theme that modifies the standard WordPress login page, you might be able to login with out cookie errors.

    Thread Starter tyvan

    (@tyvan)

    Thank you for responding, I really appreciate the assistance.

    I renamed the plugins folder located in wp-content. This “broke” the main site as expected but still did not allow me to log in.

    To disable the theme I tried renaming the theme folder in wp-content, this resulted in the home page not displaying anything just white. However, it did not fix the login issue. What is the best way to temporarily revert back to standard WordPress?

    Regarding the page access method, I have only ever logged in via typing url/wp-admin, it hadn’t even crossed my mind to check the main page for login.

    Renaming the active theme folder (in wp-content/themes) by using FTP should cause WordPress to revert to using the {{DefaultTheme}}. When finally logged in, change to a different theme.

    Since you have already renamed the active theme, and that didn’t work, perhaps you no longer have the default theme installed. Check and see if you have the Twenty Twenty theme installed. If not, FTP it to the theme folder; hopefully that will work as the default.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cookie Problem’ is closed to new replies.