{"id":1472,"date":"2020-04-24T17:07:12","date_gmt":"2020-04-24T15:07:12","guid":{"rendered":"https:\/\/www.wp-moon.com\/?p=1472"},"modified":"2020-05-14T12:07:30","modified_gmt":"2020-05-14T10:07:30","slug":"the-login-page-reloads-or-displays-the-field-is-empty","status":"publish","type":"post","link":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/","title":{"rendered":"The login page reloads or displays &#8220;&#8230; the field&#8230; is empty.&#8221;"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_custom_heading text=&#8221;Issue&#8221; use_theme_fonts=&#8221;yes&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]You <strong>try to connect<\/strong> like every day to your WordPress administration to add a new post, to update your plugins and check that everything is fine on your site.<\/p>\n<p>But today,<strong> impossible to connect<\/strong>! You put your identifiers, you are sure those and no, nothing to do, you are blocked on the login page.<\/p>\n<p>This can manifest itself in two ways: <strong>no error<\/strong> message, you have the impression that you have just reloaded the login page; or you see the following error messages displayed :<\/p>\n<p><code>Error: The username field is empty<\/code><\/p>\n<p><code>Error: The password field is empty<\/code><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1458\" src=\"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/en-e1587586943241.jpg\" alt=\"Error login page\" width=\"389\" height=\"548\" srcset=\"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/en-e1587586943241.jpg 389w, https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/en-e1587586943241-213x300.jpg 213w\" sizes=\"(max-width: 389px) 100vw, 389px\" \/>[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Where does this error come from?&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]Several causes are possible. It will be appropriate to try to find out which one.<\/p>\n<ul>\n<li>This may be due to a problem with cookies in your web browser<\/li>\n<li>Your WordPress installation has a URL issue<\/li>\n<li>The .htaccess file at the root of your site is corrupted<\/li>\n<li>A plugin blocks you<\/li>\n<li>An update between a theme and your WordPress poses a problem<\/li>\n<li>Your database is full or damaged<\/li>\n<\/ul>\n<p>We will list what to do in each of these cases.[\/vc_column_text][\/vc_column][vc_column][vc_custom_heading text=&#8221;What can be done to solve this problem?&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]As you have seen, there are many causes that can <strong>cause these problems<\/strong>. There may even be others, but we have tried to list the main ones. We will guide you here, for each of these 6 cases, how to solve this blockage or how to control settings. It is of course up to you to identify the exact cause. This article can therefore give you some clues.<\/p>\n<ul>\n<li>You have a problem with <strong>cookies<\/strong> in your web browser\n<ul>\n<li>Delete cookies from your browser, especially those related to WordPress. To know the procedure to apply, we invite you to consult your Internet browser (<em>Firefox, Opera, Edge, Chrome, Vivaldi<\/em>&#8230;).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li>Your WordPress installation has a problem with URLs\n<ul>\n<li>Connect by FTP(s) to your site<\/li>\n<li>Identify the file <em>wp-config.php<\/em><\/li>\n<li>Check and if necessary correct these two lines:<br \/>\n<code>define('WP_HOME','https:\/\/www.example.com');<\/code><br \/>\n<code>define('WP_SITEURL','https:\/\/www.example.com');<\/code><br \/>\nYou have understood that the URLs must correspond to your domain.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li>The .<strong>htaccess file<\/strong> at the root of your site is <strong>corrupted<\/strong>\n<ul>\n<li>Connect by FTP(s) to your site<\/li>\n<li>Save the .<em>htaccess<\/em> file located at the root of your site.<\/li>\n<li>Delete the copy on your FTP server.<\/li>\n<li>If the .htaccess file was indeed the cause of your problems, regenerate this file by going to &#8220;<em>Settings<\/em>&#8221; &#8211; &#8220;<em>Permalinks<\/em>&#8221; and simply save the settings.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li>A <strong>plugin blocks<\/strong> your WordPress\n<ul>\n<li>If you have the ability to access your database\n<ul>\n<li>Disable plugins on your site\n<ul>\n<li>Connect to your database<\/li>\n<li>If necessary, temporarily, you can upload a phpMyAdmin via (S)FTP on your site <a href=\"https:\/\/www.phpmyadmin.net\/downloads\/\">https:\/\/www.phpmyadmin.net\/downloads\/<\/a><\/li>\n<li>Go to the wp-options table<\/li>\n<li>Identify the option_value field and look at the rows that contain active_plugins. Tip: to isolate the rows we are looking for, you can run this query : SELECT *FROM wp_options WHERE option_name = &#8216;active_plugins&#8217;;<\/li>\n<li>For each of the plugins of your site, replace in the value a:1:{} by a:0:{}<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li>You have a<strong> problem with a theme<\/strong> following an<strong> update<\/strong>:\n<ul>\n<li>If you don&#8217;t have access to your database\n<ul>\n<li>Set the default theme\n<ul>\n<li>Connect to your site using (S)FTP<\/li>\n<li>Go to \/wp-content\/themes\/ and change the name of the folder that contains your current theme. WordPress will then use the default theme (or you can download it: <a href=\"https:\/\/wordpress.org\/themes\/twentynineteen\">https:\/\/wordpress.org\/themes\/twentynineteen<\/a>\/ and drop it on your server in the same folder of themes)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li>Your <strong>database<\/strong> is full or <strong>damaged<\/strong>\n<ul>\n<li>A rarer case but one that deserves attention. If you have access to your hosting, observe the size of your database.<br \/>\nIf it is abnormally <strong>huge<\/strong>, you may be a victim of <strong>hacking<\/strong>.<\/li>\n<li>If the size seems correct to you, look at some of the tables in your base and check if everything is OK. If not, <strong>correct any errors<\/strong> if you can. Remember to <strong>save your database<\/strong> before.<\/li>\n<li>If you are convinced that it is one of these two causes and that you cannot <strong>correct an error<\/strong> or that there are too many errors, then the only possibility is to<strong> restore a backup<\/strong>. If you don&#8217;t have one, contact your web host when you have one. After restoring the backup, you will need to determine the cause of the problem. The intervention of an <a href=\"https:\/\/www.wp-moon.com\/contact-an-expert\/\"><strong>expert<\/strong><\/a> may be necessary to prevent the problem from occurring again.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>You try to connect like every day to your Wordpress administration to add a new post, to update your plugins and check that everything is fine on your site.<\/p>\n","protected":false},"author":2,"featured_media":1462,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[128,129],"class_list":["post-1472","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fix-errors","tag-login-2","tag-page-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The login page reloads or displays &quot;... the field... is empty.&quot; - WP Moon<\/title>\n<meta name=\"description\" content=\"You try to connect like every day to your Wordpress administration to add a new post, to update your plugins and check that everything is fine on your site.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The login page reloads or displays &quot;... the field... is empty.&quot; - WP Moon\" \/>\n<meta property=\"og:description\" content=\"You try to connect like every day to your Wordpress administration to add a new post, to update your plugins and check that everything is fine on your site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Moon\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpmoonwebsite\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-24T15:07:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-14T10:07:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/office-4857268_640.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"413\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Alexandre G\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@alexgaboriau\" \/>\n<meta name=\"twitter:site\" content=\"@WPMoon4\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alexandre G\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The login page reloads or displays \"... the field... is empty.\" - WP Moon","description":"You try to connect like every day to your Wordpress administration to add a new post, to update your plugins and check that everything is fine on your site.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/","og_locale":"en_US","og_type":"article","og_title":"The login page reloads or displays \"... the field... is empty.\" - WP Moon","og_description":"You try to connect like every day to your Wordpress administration to add a new post, to update your plugins and check that everything is fine on your site.","og_url":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/","og_site_name":"WP Moon","article_publisher":"https:\/\/www.facebook.com\/wpmoonwebsite","article_published_time":"2020-04-24T15:07:12+00:00","article_modified_time":"2020-05-14T10:07:30+00:00","og_image":[{"width":640,"height":413,"url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/office-4857268_640.jpg","type":"image\/jpeg"}],"author":"Alexandre G","twitter_card":"summary_large_image","twitter_creator":"@alexgaboriau","twitter_site":"@WPMoon4","twitter_misc":{"Written by":"Alexandre G","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/#article","isPartOf":{"@id":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/"},"author":{"name":"Alexandre G","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/person\/72a64e6910977ec9e4b32fd8da54369d"},"headline":"The login page reloads or displays &#8220;&#8230; the field&#8230; is empty.&#8221;","datePublished":"2020-04-24T15:07:12+00:00","dateModified":"2020-05-14T10:07:30+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/"},"wordCount":795,"commentCount":0,"publisher":{"@id":"https:\/\/www.wp-moon.com\/en\/#organization"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/office-4857268_640.jpg","keywords":["login","page"],"articleSection":["Fix Errors"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/","url":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/","name":"The login page reloads or displays \"... the field... is empty.\" - WP Moon","isPartOf":{"@id":"https:\/\/www.wp-moon.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/#primaryimage"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/office-4857268_640.jpg","datePublished":"2020-04-24T15:07:12+00:00","dateModified":"2020-05-14T10:07:30+00:00","description":"You try to connect like every day to your Wordpress administration to add a new post, to update your plugins and check that everything is fine on your site.","breadcrumb":{"@id":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/#primaryimage","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/office-4857268_640.jpg","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/office-4857268_640.jpg","width":640,"height":413},{"@type":"BreadcrumbList","@id":"https:\/\/www.wp-moon.com\/en\/the-login-page-reloads-or-displays-the-field-is-empty\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wp-moon.com\/en\/"},{"@type":"ListItem","position":2,"name":"Fix Errors","item":"https:\/\/www.wp-moon.com\/en\/category\/fix-errors\/"},{"@type":"ListItem","position":3,"name":"The login page reloads or displays &#8220;&#8230; the field&#8230; is empty.&#8221;"}]},{"@type":"WebSite","@id":"https:\/\/www.wp-moon.com\/en\/#website","url":"https:\/\/www.wp-moon.com\/en\/","name":"WP Moon","description":"","publisher":{"@id":"https:\/\/www.wp-moon.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wp-moon.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.wp-moon.com\/en\/#organization","name":"WP Moon","url":"https:\/\/www.wp-moon.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/02\/logo.png","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/02\/logo.png","width":290,"height":95,"caption":"WP Moon"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/wpmoonwebsite","https:\/\/x.com\/WPMoon4"]},{"@type":"Person","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/person\/72a64e6910977ec9e4b32fd8da54369d","name":"Alexandre G","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2023\/09\/312419460_10229483707296045_2919774527885824513_n-100x100.jpg","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2023\/09\/312419460_10229483707296045_2919774527885824513_n-100x100.jpg","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2023\/09\/312419460_10229483707296045_2919774527885824513_n-100x100.jpg","caption":"Alexandre G"},"description":"Alexandre, Web Developer &amp; Website Editor. I've been using WordPress for over 10 years in my professional environment and on personal projects. I created WP Moon to teach you how to use this CMS, solve your problems and show you all the tricks.","sameAs":["https:\/\/www.croque-pixel.com\/","https:\/\/x.com\/alexgaboriau","https:\/\/www.youtube.com\/@wp_moon\/videos"],"url":"https:\/\/www.wp-moon.com\/en\/author\/wp-moon\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts\/1472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/comments?post=1472"}],"version-history":[{"count":0,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts\/1472\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/media\/1462"}],"wp:attachment":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/media?parent=1472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/categories?post=1472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/tags?post=1472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}