{"id":41,"date":"2019-12-06T11:00:41","date_gmt":"2019-12-06T11:00:41","guid":{"rendered":"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/?p=41"},"modified":"2020-03-30T06:47:48","modified_gmt":"2020-03-30T06:47:48","slug":"troubleshooting","status":"publish","type":"post","link":"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/troubleshooting\/","title":{"rendered":"Troubleshooting"},"content":{"rendered":"\n<p><strong>Enabling WP_Debug In WordPress<\/strong><\/p>\n\n\n\n<p>WP_Debug is\na constant that when enabled will exhibit some PHP errors on the front-end of\nyour website, this is the most valuable tool when troubleshooting your website\nfor errors. If disabled and your website has an error you will see a blank\nscreen or content missing on the website however there will be no error\nmessage, making it almost impossible to work out the issue. As for us, we\nmaintain WP_Debug allowed on all our websites. So, if you set up a new plugin\nor upgrade a Theme you will know immediately if there are any errors and be\nable to contact the developer to fix them or fix them yourself.<\/p>\n\n\n\n<p><em>Important:\nThis is an advanced procedure so please proceed with caution, if you don\u2019t have\na clear idea of what you are doing, feel free to contact your webhost for\nassistance.<\/em><\/p>\n\n\n\n<p><strong>How To\nEnable WP_Debug in WordPress<\/strong><\/p>\n\n\n\n<p>Follow the give\nsteps to enable WP_Debug for your WordPress installation.<\/p>\n\n\n\n<ol><li>Access your website\u2019s root folder via\nFTP or SFTP<\/li><li>Locate the wp-config.php file<\/li><li>Open this file in a text editor (I\nprefer sublime text)<\/li><li>Search for \u201cWP_Debug\u201d and if you find\nit set the value to true if currently set to false<\/li><\/ol>\n\n\n\n<p>If you couldn\u2019t\nlocate \u201cWP_Debug\u201d then scroll down near the bottom of the file and add the\nfollowing code right before the line that says \u201c# That\u2019s It. Pencils down\u201d<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'WP_DEBUG', true );<\/code><\/pre>\n\n\n\n<p>When it\u2019s done and saved it should look like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"505\" height=\"174\" src=\"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-content\/uploads\/2019\/12\/image-21.png\" alt=\"\" class=\"wp-image-381\" srcset=\"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-content\/uploads\/2019\/12\/image-21.png 505w, https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-content\/uploads\/2019\/12\/image-21-300x103.png 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/figure>\n\n\n\n<h2>Troubleshooting Customizer Issues<\/h2>\n\n\n\n<p>The\nWordPress customizer is a core function built-into WordPress so as long as the\nhost supports WordPress subsequently the Customizer must work 100%.\nNevertheless, there are a few known plugins which could break things in\naddition to specific server configurations that might lead to issues. Below is\na listing of the troubleshooting measures to go through to find out why your\nCustomizer is not working properly.<\/p>\n\n\n\n<p><strong>Step 1: Test another browser and\/or close tabs<\/strong><\/p>\n\n\n\n<p>We have noticed\nthe WordPress Customizer may get a little buggy from the Chrome browser\n(particularly once you have several tabs open). From our test we discovered the\nCustomizer performs better in the newest edition of Firefox. Results may vary\nbased upon your personal computer, but it is worth testing out in the event\nthat you have not attempted in this browser. Furthermore, when you&#8217;ve got\nseveral tabs open on your browser (especially if you&#8217;re watching some type of\nvideo like YouTube or Netflix) it may slow things down when opening and closing\ntabs\/panels.<\/p>\n\n\n\n<p><strong>Step 2: Clear your Cache<\/strong><\/p>\n\n\n\n<p>A lot of\ntimes people have issues with WordPress since they recently upgraded a plugin,\nWordPress or Theme and did not clean their cache. So please make certain that\nyou clear it only to be sure that is not the issue.<\/p>\n\n\n\n<p><strong>Step 3: Make Sure Your Host Supports WordPress and just check that your PHP version is up to date.<\/strong><\/p>\n\n\n\n<p>If a core\nfunction is not working it\u2019s possible your webhost doesn\u2019t fully support\nWordPress, please make sure it does. Specifically the Theme uses anonymous\nfunctions that were introduced in PHP 5.3 and if your server has an outdated\nversion of PHP that doesn\u2019t support these functions then the Customizer may not\nload or will display an error like this \u201cParse error: syntax error, unexpected\nT_FUNCTION in\u2026\u201d.<\/p>\n\n\n\n<p><strong>Step 4: Increase Server Memory Limit To PHP<\/strong><\/p>\n\n\n\n<p>Often the\ncustomizer doesn\u2019t save because your memory limit is set too low on your\nserver. This is common on shared hosting plans or other affordable hosting\nplans.<\/p>\n\n\n\n<p><strong>Step 5: Make sure there aren\u2019t any Debug Errors<\/strong><\/p>\n\n\n\n<p>Hollywood was coded with WP_Debug permitted to make certain that there aren&#8217;t just one PHP mistakes. Please be sure WP_Debug is allowed on the host and if you find any mistakes, they may be quite helpful in troubleshooting this issue in addition to locating problems with the with plugins or the server.<\/p>\n\n\n\n<p><strong>Step 6: Disable 3rd Party Plugins<\/strong><\/p>\n\n\n\n<p><em><strong>Note:<\/strong> If you are an advanced user please skip this step for now and do the other ones since they are much faster and will help troubleshoot the problem quicker. If you&#8217;re new to WordPress, hosting&#8230;etc, this is the ideal place to get started.<\/em><\/p>\n\n\n\n<p>Sometimes\n3rd party plugins that aren\u2019t coded properly could break the Customizer.\nDisable any 3rd party plugin 1 by 1 to test (no need to disable the recommended\nplugins, these have been fully tested with the Theme).&nbsp; Make sure to clear your cache when disabling\nplugins 1 by 1 to make sure the Customizer isn\u2019t still loading old code<\/p>\n\n\n\n<p><strong>Step 7: Check Server Error Logs<\/strong><\/p>\n\n\n\n<p>Checking\nserver error logs is the easiest method to see what may be going on. If the\nCustomizer isn\u2019t saving it will generally save an error in your server error\nlogs. If you have access to them, you should look and see if there is any error\nwhen you try saving the Customizer. If you aren\u2019t sure how to interpret the data,\nyou can always contact your webhost for some assistance.<\/p>\n\n\n\n<p><strong>Step 8: Check Child Theme name (too many redirects error)<\/strong><\/p>\n\n\n\n<p>If you are\nusing a child Theme and you are getting an error when trying to load the\ncustomizer that says there has been too many redirects this could be an issue\nrelated to your child Theme name. Make sure your child Theme does not have ANY\nempty spaces and is written in English without any added characters.<\/p>\n\n\n\n<p><strong>Step 9: Contact Support<\/strong><\/p>\n\n\n\n<p>If you can\u2019t figure out what is wrong, please send temp WordPress and FTP access to us via the form on our site with a message telling us what is wrong, and we\u2019ll be able to look at the problem.<\/p>\n\n\n\n<h3><strong>Theme Installation\nErrors<\/strong><\/h3>\n\n\n\n<p>The Hollywood Theme should install without any errors, although on some occasions people to encounter errors so here are the most common errors and the solutions:<\/p>\n\n\n\n<p>The package could not be installed. The Theme is missing the style.css stylesheet. One of the most common reasons people have issues is because they try uploading the Full zip that includes sample data, documentation\u2026etc which displays the <strong>\u201cThe package could not be installed. The Theme is missing the style.css stylesheet.\u201d<\/strong> error. Please make sure you are uploading only the installable Theme which is called Hollywood.zip. When you download the Theme from your Themesvillage downloads it will give you the full zip which you will need to extract to locate the Theme and the other one is just the installable Theme. Please pay close attention to this. <\/p>\n\n\n\n<p><strong>Are you sure you want to do this? Or 500\nInternal Server Errors<\/strong><strong><\/strong><\/p>\n\n\n\n<p>This error\ntypically happens for one of two reasons:<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; a. Your server\u2019s memory limit to PHP is too\nlow (most common).<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; b. You are trying to upload the Full zip\nfile and not just the installable Theme (please refer to the guide on\ninstalling your Theme).<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; c.&nbsp;\nThe upload limit on your server isn\u2019t large enough and you must update\nyour PHP.INI file to increase the upload_max_filesize value or contact your\nwebhost to fix it.<\/p>\n\n\n\n<p><strong>Didn\u2019t send any data (ERR_EMPTY_RESPONSE)<\/strong><\/p>\n\n\n\n<p>This error usually means that your server\u2019s upload limit is too small. You should contact your hosting company if you aren\u2019t sure how and get your upload limit increased to at least 20MB. Also make sure you are installing the correct file (Hollywood.zip file) as mentioned in the first section of this article.<\/p>\n\n\n\n<p><strong>White Screen of Death<\/strong><\/p>\n\n\n\n<p>A \u201cWhite\nScreen of Death\u201d happens when there is a PHP error on the site but WP_Debug\nisn\u2019t enabled on the server. So, the first thing to do would be to enable\nWP_Debug so you can read what the actual error is and thus fix the problem.<\/p>\n\n\n\n<p><em>This\nusually happens when your WordPress installation isn\u2019t up to date (always keep\nWordPress up to date) or when a 3rd party plugin is creating a conflict. I\nwould recommend always disabling all plugins and updating WordPress before\nswitching to a new Theme.<\/em><\/p>\n\n\n\n<h3>Increasing Memory Limit To PHP<\/h3>\n\n\n\n<p>Some servers\n(mostly shared hosting planes usually) have a very low limit to PHP by default\nwhich can cause a blank screen (White Screen of Death) or an error on your\nsite. Luckily increasing the memory limit to PHP is very simple and can be done\nwith a small tweak in your wp-config.php file.<\/p>\n\n\n\n<p>Have a look\nbelow at how to increase your memory limit or read the documentation on the <a href=\"https:\/\/codex.wordpress.org\/Editing_wp-config.php#Increasing_memory_allocated_to_PHP\">WordPress CODEX<\/a>.<\/p>\n\n\n\n<p><strong>Increasing\nthe Memory Limit<\/strong><\/p>\n\n\n\n<p>Open your wp-config.php\nfile via FTP and add the following code right before it says \u201cThat\u2019s all, stop\nediting! Happy blogging\u201d:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'WP_MEMORY_LIMIT', '256M' );<\/code><\/pre>\n\n\n\n<p>You can change the 128MB to the value you want. I personally use 256MB on my localhost but 128MB should work quite well for most live sites.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"602\" height=\"343\" src=\"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-content\/uploads\/2019\/12\/image-23.png\" alt=\"\" class=\"wp-image-383\" srcset=\"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-content\/uploads\/2019\/12\/image-23.png 602w, https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-content\/uploads\/2019\/12\/image-23-300x171.png 300w, https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-content\/uploads\/2019\/12\/image-23-333x190.png 333w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/figure>\n\n\n\n<p>Please make your server settings as given below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>upload_max_filesize: 25M\nmax_input_time: 300\nmemory_limit: 256M\nmax_execution_time: 300\npost_max_size: 512M<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Enabling WP_Debug In WordPress WP_Debug is a constant that when enabled will exhibit some PHP errors on the front-end of your website, this is the most valuable tool when troubleshooting your website for errors. If disabled and your website has an error you will see a blank screen or content missing on the website however&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-json\/wp\/v2\/posts\/41"}],"collection":[{"href":"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":12,"href":"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":678,"href":"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-json\/wp\/v2\/posts\/41\/revisions\/678"}],"wp:attachment":[{"href":"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themesvillage.com\/documentation\/hollywood-wordpress-movie-theme\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}