Help Center

Search for new topic

Learn how to set up, customize, and troubleshoot Keystone Themes.

Cannot upload the theme

Estimated reading: 2 minutes 80 views

Summary: Facing installation issues? Learn how to resolve common errors like ‘Are you sure you want to do this?’, ‘Stylesheet is missing’, or ‘The link you followed has expired’. We provide step-by-step solutions to address problems related to PHP configuration settings, ensuring a seamless theme installation experience.

🛠️ 1. “Incompatible Archive” Error

Cause:

A known bug in WordPress 6.4.3 (Trac Changeset 57388).

Fix:

  1. Go to Plugins → Add New.
  2. Search for Code Snippets and install it.
  3. Go to Snippets → Add New.
  4. Add the following code: phpCopyEditadd_filter( 'unzip_file_use_ziparchive', '__return_false' );
  5. Set the snippet to run everywhere and save.

📌 Track the bug here

🚫 2. “Are you sure you want to do this?”

Cause:

Your server upload limits are too low or you’re uploading the wrong .zip file.

Fix:

  • Contact your hosting provider and ask to increase: iniCopyEditupload_max_filesize = 32M post_max_size = 32M
  • Also, make sure you’re uploading the correct file:
    • Use “Installable WordPress file only”
    • If you chose “All files & documentation”, unzip it first and locate the theme .zip inside

❌ 3. “The package could not be installed. The theme is missing the style.css stylesheet”

Cause:

You uploaded the wrong .zip file (usually the full download package).

Fix:

  • Re-download the theme from ThemeForest
  • Select “Installable WordPress file only” when downloading

🔗 4. “The link you followed has expired”

Cause:

Your server’s memory and file size limits are too low.

Fix:

Ask your hosting provider to update your PHP settings to:

iniCopyEditmemory_limit = 256M
max_execution_time = 240
post_max_size = 32M
upload_max_filesize = 32M

Show them the error or share a screenshot — they’ll know what to do.

Share this Doc

Cannot upload the theme

Or copy link

CONTENTS