Errors While Uploading Theme In WordPress

Error: Blank Screen or Error Notice


This can happens when there is a PHP error on the site but WP_DEBUG isn’t enabled on the server. So the first enable WP_DEBUG so you can read error and then fix the issue.If you are using existing WordPress setup then please disable all plugins first then update WordPress with latest version and then switch to new theme.

Open “/wp-content/wp-config.php” file under your project root folder. Now find below line code

define( 'WP_DEBUG', false );

and replace to

define( 'WP_DEBUG', true );

Error: The theme is missing the style.css stylesheet.


If you are uploading full zip file then this error can occur so please upload file only. You can find file inside downloaded zip file.

Error: Are you sure you want to do this?


If you are getting error message “are you sure you want to do this?” while installing theme through WordPress admin then please check hosting PHP settings. Litho theme zip file is around 40mb and some server’s default value for upload_max_filesize to 2mb. To solve this problem you should either increase your maximum upload size to 40mb on your hosting admin panel, or ask your host to do it for you if you do not have the privileges to alter your server PHP settings. This is a very common request and they should be able to help you out. Once the limit is increased, you can re-try the install theme and you’ll be all good to go.

Error: File size error while uploading WordPress theme.


To fix this error on your server, you can upload your WordPress theme to your server by using a FTP-client. The location where theme files are stored in WordPress is within the /wp-content/themes/ folder. In case you’re not familiar with uploading files to your server and/or FTP-clients, you could contact your hosting provider for further assistance.