I have installed my wordpress with Xampp to design locally, but my computer shut down and now when I want to enter the administrator of my page I get this fatal error message.
I already deactivated all the plugins and changed the theme, and it keeps causing me the same error. I have also deleted the cache memory and all the cookies on my computer and I keep getting the same error.
I’m desperate, could someone please help me?
Fatal error: Uncaught ValueError: setcookie(): "path" option cannot contain ",", ";", " ", "t", "r", "n", "13", or "14" in C:xampphtdocssicarmxwp-login.php:418 Stack trace: #0 C:xampphtdocssicarmxwp-login.php(418): setcookie(‘wordpress_test_…’, ‘WP Cookie check’, 0, ‘ /sicarmx/’, ”, false) #1 {main} thrown in C:xampphtdocssicarmxwp-login.php on line 418
These are the specific lines of code that are giving me problems according to what the error indicates.
// Set a cookie now to see if they are supported by the browser.
$secure = ( 'https' === parse_url( wp_login_url(), PHP_URL_SCHEME ) );
setcookie( TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN, $secure );
if ( SITECOOKIEPATH !== COOKIEPATH ) {
setcookie( TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN, $secure );
}