{"id":25107,"date":"2016-09-07T23:25:25","date_gmt":"2016-09-07T22:25:25","guid":{"rendered":"https:\/\/www.megamenu.com\/?post_type=ht_kb&#038;p=25107"},"modified":"2019-11-19T12:53:50","modified_gmt":"2019-11-19T12:53:50","slug":"blank-screen-when-clicking-blue-mega-menu","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/blank-screen-when-clicking-blue-mega-menu\/","title":{"rendered":"A blank screen appears when I click the blue &#8216;Mega Menu&#8217; button"},"content":{"rendered":"<p>This issue is almost always down to a plugin conflict, but it can also be caused due to a theme conflict.<\/p>\n<p>Please check the <em>Appearance &gt; Menus<\/em> page source and look for any plugins that include &#8216;<strong>colorbox.js<\/strong>&#8216; or &#8216;<strong>colorbox.css<\/strong>&#8216; (just search for &#8216;colorbox&#8217;) and disable the plugin.<\/p>\n<p>If it is not obvious which plugin is including colorbox, try\u00a0disabling all plugins and check to see if the settings load correctly. Then enable plugins one by one until it breaks again. Once you have identified the conflicting plugin please report the plugin to <a href=\"https:\/\/www.megamenu.com\/support\/\">support<\/a> so we can work on a compatibility fix.<\/p>\n<p>If the issue persists with all plugins disabled, please try switching theme. If you find your theme is causing the issue, please report the theme to <a href=\"https:\/\/www.megamenu.com\/support\/\">support<\/a> so we can work on a compatibility fix.<\/p>\n<h3>Advanced<\/h3>\n<p>If you have tried disabling all plugins and switching theme, and it is still not working, try following the instructions below.<\/p>\n<p>Using Chrome Developer Tools it is possible to check the response from the server when the menu settings are loaded. There are often clues in the response which point to the problem.<\/p>\n<ol>\n<li>Enable <a href=\"https:\/\/codex.wordpress.org\/WP_DEBUG\">WP_DEBUG<\/a><\/li>\n<li>Edit the <span class=\"lang:default decode:true crayon-inline \">wp-includes\/load.php<\/span>\u00a0 file. Find:\n<pre class=\"lang:default decode:true \">if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'WP_INSTALLING' ) &amp;&amp; WP_INSTALLING ) || wp_doing_ajax() || wp_is_json_request() ) {\r\n\tini_set( 'display_errors', 0 );\r\n}<\/pre>\n<p>Replace with:<\/p>\n<pre class=\"lang:default decode:true\">if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'WP_INSTALLING' ) &amp;&amp; WP_INSTALLING ) || wp_doing_ajax() || wp_is_json_request() ) {\r\n\tini_set( 'display_errors', 1 );\r\n}<\/pre>\n<\/li>\n<li>Right click on the page and go to &#8220;Inspect&#8221;<\/li>\n<li>In Developer Tools, click the &#8220;Network&#8221; tab.<\/li>\n<li>Click the blue &#8220;Mega Menu&#8221; button to open the mega menu settings<\/li>\n<li>Within the &#8220;Network&#8221; tab, you should find a request to &#8220;admin-ajax.php&#8221;. This is the request to the server which loads the mega menu settings (note: WordPress will create it&#8217;s own admin-ajax.php request every 30 seconds, so make sure you select the correct request)<\/li>\n<li>Click the &#8220;admin-ajax.php&#8221; request and check the &#8220;Response&#8221; tab. If the request fails, or is corrupted, you should find clues as to what the issue is within the response.<\/li>\n<li>Remember to undo the changes from step 1 and 2.<\/li>\n<\/ol>\n<p>Below is a video of how the request <em>should<\/em> appear:<\/p>\n<div style=\"width: 1362px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-25107-1\" width=\"1362\" height=\"890\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/08\/screencast.mp4?_=1\" \/><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/08\/screencast.mp4\">https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/08\/screencast.mp4<\/a><\/video><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This issue is almost always down to a plugin conflict, but it can also be caused due to a theme conflict. Please check the Appearance &gt; Menus page source and look for any plugins that include &#8216;colorbox.js&#8216; or &#8216;colorbox.css&#8216; (just search for &#8216;colorbox&#8217;) and disable the plugin. If it is&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[19],"ht-kb-tag":[],"class_list":["post-25107","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-troubleshooting"],"uagb_featured_image_src":[],"uagb_author_info":{"display_name":"Tom Hemsley","author_link":"https:\/\/www.megamenu.com\/author\/megamenu\/"},"uagb_comment_info":0,"uagb_excerpt":"This issue is almost always down to a plugin conflict, but it can also be caused due to a theme conflict. Please check the Appearance &gt; Menus page source and look for any plugins that include &#8216;colorbox.js&#8216; or &#8216;colorbox.css&#8216; (just search for &#8216;colorbox&#8217;) and disable the plugin. If it is...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/25107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/comments?post=25107"}],"version-history":[{"count":15,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/25107\/revisions"}],"predecessor-version":[{"id":221271,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/25107\/revisions\/221271"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=25107"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=25107"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=25107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}