• Resolved cyberdome

    (@cyberdome)


    Hello

    I’m facing the login “Error: Cookies are blocked due to unexpected output”.

    I have checked everything and it appears that the error is caused by my customify-child theme.

    When I deactivate it I can log in, when I activate it I can’t log in.

    I tried to comment on all my personal adds in the functions.php of the child theme but it doesn’t change anything, even when I put a totally empty functions.php

    The theme screenshot of the child theme is not displayed in the theme panel.

    I have checked everything else:

    To deactivate the plugin folder doesn’t make any difference.
    Plugins and WordPress are up to date.
    WordPress core integrity is ok, the CRC checked by WP Tiger in the Cpanel is ok.
    Permalinks are ok, at least they are set in a way that doesn’t produce API REST 404 error.
    Cookies are not blocked on my navigators I can check them directly on it.

    Thanks for your help

    • This topic was modified 4 years, 2 months ago by cyberdome.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Can you please share your child theme zip with me, so that i can debug issue.

    Thanks
    Vikas

    Thread Starter cyberdome

    (@cyberdome)

    Thanks for your answer, it finally works but I don’t understand why. After checking my back-up function.php in a hex editor where everything was fine I just copy past again the code part by part in the empty funtion.php of the child theme and it worked. I guess it was a kind of encoding bug.

    • This reply was modified 4 years, 2 months ago by cyberdome.

    Yes, actually mostly it happens when you put some blank lines after closing php tag at end of that file

    • This reply was modified 4 years, 2 months ago by vikas.kodesk.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Login cookie error because of child theme’ is closed to new replies.