{"id":1578,"date":"2020-05-14T10:48:40","date_gmt":"2020-05-14T08:48:40","guid":{"rendered":"https:\/\/www.wp-moon.com\/?p=1578"},"modified":"2020-05-14T11:56:47","modified_gmt":"2020-05-14T09:56:47","slug":"troubleshoot-with-display-in-wordpress-administration","status":"publish","type":"post","link":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/","title":{"rendered":"Troubleshoot with display in WordPress administration"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_custom_heading text=&#8221;Problem&#8221; use_theme_fonts=&#8221;yes&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]You are on your <strong>administration interface<\/strong> and face various <strong>bugs<\/strong>: scripts do not seem to run correctly, resources are missing, display bugs occur at different places in the WordPress administration.<\/p>\n<ul>\n<li>Examples of these bugs :Your page and article editor does not display your entries correctly.<\/li>\n<li>Some menus no longer work<\/li>\n<li>Adding media is difficult if not impossible<\/li>\n<li>Some features are inoperative<\/li>\n<\/ul>\n<p>The administration is not loading properly.[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;The cause&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]WordPress uses a script concatenation feature, allowing you to load all your <strong>back-office javascript<\/strong> files in a single request.<\/p>\n<p>The <strong>dependencies<\/strong> will then all be loaded at once.<\/p>\n<p>Unfortunately, sometimes this can cause <strong>conflicts between scripts<\/strong>. Sometimes these appear with <a href=\"https:\/\/www.wp-moon.com\/error-with-adding-or-updating-plugins-themes\/\" title=\"Error with adding or updating plugins &#038; themes\">certain themes or plugins<\/a>.<\/p>\n<p>Another cause of this error is a <strong>cache problem<\/strong>. Some editors are more prone to this problem than others.<\/p>\n<p>A last cause can be a too <strong>restrictive .htaccess<\/strong> file. An .htaccess file is used to configure certain server parameters, allowing to define different rules, in particular for access or rewriting. This file is used a lot to improve the security of your site, to configure URL rewriting, to perform redirections or to redirect error messages.[\/vc_column_text][\/vc_column][vc_column][vc_custom_heading text=&#8221;The solution&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]An &#8220;<em>easy<\/em>&#8221; solution to get around this problem is to <strong>disable this feature<\/strong>. But by doing this you will lose the benefits. Nevertheless, it may allow you to highlight the problem.<\/p>\n<p>To do so, you just have to add or modify the following line in the<em> wp-config.php<\/em> file as follows :<\/p>\n<p><code>define( 'CONCATENATE_SCRIPTS', false );<\/code><\/p>\n<p>You can then reload the administration page and see if the result is better.<\/p>\n<p>For a better diagnosis, we also advise you, temporarily, to <strong>activate the debug<\/strong> on your WordPress installation.<\/p>\n<p>Still in the same <em>wp-config.php<\/em> file, located at the root of your WordPress installation, activate the debug with this line in your file, with the value &#8220;true&#8221; instead of &#8220;false&#8221;:<\/p>\n<p><code>define( 'WP_DEBUG', true );<\/code><\/p>\n<p>If you are working on a theme or a plugin and you want to provide a small version of your scripts (javascript, CSS&#8230;), you can also activate the debugging of the scripts thanks to this line :<\/p>\n<p><code>define( 'SCRIPT_DEBUG', true );<\/code><\/p>\n<p>Finally, use your <strong>browser&#8217;s console<\/strong> to check for errors or problems, whether the concatenation option is enabled or not. When concatenation is disabled, you can pinpoint the script(s) that are at fault. To activate the console: F12 under Firefox \/ Chrome, CTRL + SHIFT + C under Opera; then click on the title of the &#8220;Console&#8221; tab). You will then find errors or attention messages if necessary, targeting certain elements of your site.<\/p>\n<p><strong>Reminder<\/strong>: in <strong>production<\/strong>, debug mods must be <strong>disabled.<\/strong> So remember to reset the last two parameters to &#8220;<em>false<\/em>&#8220;.<\/p>\n<p>We have seen that this kind of problem can also come from a <strong>cache<\/strong>. All you have to do is to empty your browser&#8217;s cache (see according to your browser the way to do) and try again. Check and empty if necessary also your server cache or some plugins if needed. Also <strong>check your plugins<\/strong> and themes whenever. Finally, if you use a <em>CDN<\/em> (Content Delivery Network) solution, remember to check its configuration.<\/p>\n<p>Finally, we mentioned a too restrictive .htaccess file. It will be necessary to check this file to <strong>identify possible rules<\/strong> or restrictions that could interfere with the loading of scripts. Don&#8217;t hesitate to call a professional to analyze this file, as it is so important for the security and the good functioning of your website.[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_custom_heading text=&#8221;Problem&#8221; use_theme_fonts=&#8221;yes&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]You are on your administration interface and face various bugs: scripts do not seem to run correctly, resources are missing, display bugs occur at different places in the WordPress administration. Examples of these bugs :Your page and article editor does not display your entries correctly. Some menus no longer work Adding media is &hellip; <a href=\"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Troubleshoot with display in WordPress administration<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":1581,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[56],"class_list":["post-1578","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fix-errors","tag-back-office"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Troubleshoot with display in WordPress administration - WP Moon<\/title>\n<meta name=\"description\" content=\"You are on your administration interface and face various bugs: scripts do not seem to run correctly, resources are missing, display bugs occur at\" \/>\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\/troubleshoot-with-display-in-wordpress-administration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Troubleshoot with display in WordPress administration - WP Moon\" \/>\n<meta property=\"og:description\" content=\"You are on your administration interface and face various bugs: scripts do not seem to run correctly, resources are missing, display bugs occur at\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/\" \/>\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-05-14T08:48:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-14T09:56:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/05\/erreur.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"778\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Troubleshoot with display in WordPress administration - WP Moon","description":"You are on your administration interface and face various bugs: scripts do not seem to run correctly, resources are missing, display bugs occur at","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\/troubleshoot-with-display-in-wordpress-administration\/","og_locale":"en_US","og_type":"article","og_title":"Troubleshoot with display in WordPress administration - WP Moon","og_description":"You are on your administration interface and face various bugs: scripts do not seem to run correctly, resources are missing, display bugs occur at","og_url":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/","og_site_name":"WP Moon","article_publisher":"https:\/\/www.facebook.com\/wpmoonwebsite","article_published_time":"2020-05-14T08:48:40+00:00","article_modified_time":"2020-05-14T09:56:47+00:00","og_image":[{"width":1500,"height":778,"url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/05\/erreur.png","type":"image\/png"}],"author":"Alexandre G","twitter_card":"summary_large_image","twitter_creator":"@alexgaboriau","twitter_site":"@WPMoon4","twitter_misc":{"Written by":"Alexandre G","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/#article","isPartOf":{"@id":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/"},"author":{"name":"Alexandre G","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/person\/72a64e6910977ec9e4b32fd8da54369d"},"headline":"Troubleshoot with display in WordPress administration","datePublished":"2020-05-14T08:48:40+00:00","dateModified":"2020-05-14T09:56:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/"},"wordCount":636,"commentCount":0,"publisher":{"@id":"https:\/\/www.wp-moon.com\/en\/#organization"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/05\/erreur.png","keywords":["back-office"],"articleSection":["Fix Errors"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/","url":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/","name":"Troubleshoot with display in WordPress administration - WP Moon","isPartOf":{"@id":"https:\/\/www.wp-moon.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/#primaryimage"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/05\/erreur.png","datePublished":"2020-05-14T08:48:40+00:00","dateModified":"2020-05-14T09:56:47+00:00","description":"You are on your administration interface and face various bugs: scripts do not seem to run correctly, resources are missing, display bugs occur at","breadcrumb":{"@id":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/#primaryimage","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/05\/erreur.png","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/05\/erreur.png","width":1500,"height":778,"caption":"erreur"},{"@type":"BreadcrumbList","@id":"https:\/\/www.wp-moon.com\/en\/troubleshoot-with-display-in-wordpress-administration\/#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":"Troubleshoot with display in WordPress administration"}]},{"@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\/1578","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=1578"}],"version-history":[{"count":0,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts\/1578\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/media\/1581"}],"wp:attachment":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/media?parent=1578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/categories?post=1578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/tags?post=1578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}