# Common errors and fixes

> Quick fixes for the problems we see most: theme upload errors, memory and timeout errors, demo import failures, 404 pages, styles not updating and white screens.

Source: https://seventhqueen.com/docs/common/common-errors/

Start with the error message you see. If yours is not here, follow [Troubleshooting an issue](https://seventhqueen.com/docs/common/troubleshooting-an-issue/).

## The package could not be installed. The theme is missing the style.css stylesheet

You uploaded the full ThemeForest package instead of the theme zip. Unzip the package and upload only `theme.zip` (for example `kleo.zip`). See Install the theme ([KLEO](https://seventhqueen.com/docs/kleo/install-the-theme/), [Typer](https://seventhqueen.com/docs/typer/install-the-theme/), [SeeKo](https://seventhqueen.com/docs/seeko/install-the-theme/), [SweetDate](https://seventhqueen.com/docs/sweetdate/install-the-theme/), [BuddyApp](https://seventhqueen.com/docs/buddyapp/install-the-theme/)).

## The uploaded file exceeds the upload_max_filesize directive

Your server limits upload size. Either ask your host to raise `upload_max_filesize` and `post_max_size` to 64M, or upload the theme folder by FTP (steps: [KLEO](https://seventhqueen.com/docs/kleo/install-the-theme/#3-or-install-by-ftp-or-sftp), [Typer](https://seventhqueen.com/docs/typer/install-the-theme/#3-or-install-by-ftp-or-sftp), [SeeKo](https://seventhqueen.com/docs/seeko/install-the-theme/#3-or-install-by-ftp-or-sftp), [SweetDate](https://seventhqueen.com/docs/sweetdate/install-the-theme/#3-or-install-by-ftp-or-sftp), [BuddyApp](https://seventhqueen.com/docs/buddyapp/install-the-theme/#3-or-install-by-ftp-or-sftp)).

## Allowed memory size of ... bytes exhausted

PHP ran out of memory. Raise the limit to 256M (how: [KLEO](https://seventhqueen.com/docs/kleo/theme-requirements/#check-your-server), [Typer](https://seventhqueen.com/docs/typer/theme-requirements/#check-your-server), [SeeKo](https://seventhqueen.com/docs/seeko/theme-requirements/#check-your-server), [SweetDate](https://seventhqueen.com/docs/sweetdate/theme-requirements/#check-your-server), [BuddyApp](https://seventhqueen.com/docs/buddyapp/theme-requirements/#check-your-server)). If the error names a plugin file, that plugin is the one using the memory; check for an update or disable it to confirm.

## Maximum execution time of 30 seconds exceeded

A long task, usually a demo import or an update, was stopped by the server. Ask your host to raise `max_execution_time` to 180 or more, then run the task again. Demo importers skip what was already imported.

## The demo import stops or never finishes

- Check the requirements ([KLEO](https://seventhqueen.com/docs/kleo/theme-requirements/), [Typer](https://seventhqueen.com/docs/typer/theme-requirements/), [SeeKo](https://seventhqueen.com/docs/seeko/theme-requirements/), [SweetDate](https://seventhqueen.com/docs/sweetdate/theme-requirements/), [BuddyApp](https://seventhqueen.com/docs/buddyapp/theme-requirements/)): memory 256M and execution time 180 seconds or more.
- Install and activate the plugins the demo needs first. The importer lists them.
- KLEO, Typer and SeeKo: the importer needs a registered theme ([KLEO](https://seventhqueen.com/docs/kleo/register-your-theme/), [Typer](https://seventhqueen.com/docs/typer/register-your-theme/), [SeeKo](https://seventhqueen.com/docs/seeko/register-your-theme/), [SweetDate](https://seventhqueen.com/docs/sweetdate/register-your-theme/), [BuddyApp](https://seventhqueen.com/docs/buddyapp/register-your-theme/)) and outgoing HTTPS requests to our servers. A firewall or security plugin can block them.
- Import one demo at a time and wait for the success message before leaving the page.

## Pages, profiles or groups show "Page not found" (404)

Go to **Settings > Permalinks** and click **Save Changes** without changing anything. This rebuilds the URL rules. For BuddyPress pages, also check **Settings > BuddyPress > Pages** (BuddyPress 12 and newer: **Settings > BuddyPress > URLs**) and make sure every component has a page.

## Changes in the theme options do not show on the site

1. Clear every cache: caching plugin, server cache (ask your host), CDN such as Cloudflare, and your browser (<kbd>Ctrl</kbd> + <kbd>F5</kbd>).
2. KLEO: open **Theme options** and click **Save Changes** once to regenerate the theme's CSS file.
3. If you use a minify or combine option, turn it off, check, then turn it back on.

## Customizer settings are gone after switching to the child theme

Customizer settings are saved per theme. Export them from the parent theme and import them in the child theme. See Saving Customizer settings ([Typer](https://seventhqueen.com/docs/typer/how-to-prevent-losing-customizer-settings-import-export/), [SeeKo](https://seventhqueen.com/docs/seeko/how-to-prevent-losing-customizer-settings-import-export/), [BuddyApp](https://seventhqueen.com/docs/buddyapp/how-to-prevent-losing-customizer-settings-import-export/)).

## White screen or "There has been a critical error on this website"

WordPress stopped because of a PHP error. It usually sends the administrator an email with the cause and a recovery link.

1. Open the recovery link from that email, or turn on logging by adding this to `wp-config.php`:

   ```php
   define( 'WP_DEBUG', true );
   define( 'WP_DEBUG_LOG', true );
   define( 'WP_DEBUG_DISPLAY', false );
   ```

2. Reload the page, then open `wp-content/debug.log`. The last lines name the file that failed.
3. If it is a plugin, rename its folder in `wp-content/plugins/` by FTP to disable it. If it is your child theme's `functions.php`, remove your last change.
4. Turn `WP_DEBUG` off again when you are done.

## Plugin says "license not activated" or asks for a purchase code

That is a bundled premium plugin ([KLEO](https://seventhqueen.com/docs/kleo/bundled-plugins-activation-code/), [Typer](https://seventhqueen.com/docs/typer/bundled-plugins-activation-code/), [SeeKo](https://seventhqueen.com/docs/seeko/bundled-plugins-activation-code/), [SweetDate](https://seventhqueen.com/docs/sweetdate/bundled-plugins-activation-code/), [BuddyApp](https://seventhqueen.com/docs/buddyapp/bundled-plugins-activation-code/)). It works without its own license; updates come with the theme.

## Emails from the site do not arrive

Registration, password reset and notification emails depend on your server's mail setup, which many hosts restrict. Install an SMTP plugin (for example WP Mail SMTP or FluentSMTP) and send through a real mail provider.
