# Common Issues

> This page documents frequently encountered problems when using the Aegis theme and their solutions.

## Installation Issues

### Fatal Error After Activation

**Symptom:** A white screen or PHP fatal error appears after activating Aegis.

**Cause:** The `vendor/` directory is missing. Aegis requires Composer dependencies to function.

**Solution:**

1. Connect to your server via FTP or file manager.
2. Verify that the `vendor/` directory exists inside `wp-content/themes/aegis/`.
3. If missing, download `aegis.zip` from the latest Aegis release (release packages include `vendor/`).
4. Alternatively, run `composer install --no-dev` in the theme directory if you have SSH access.

### Theme Does Not Appear in Theme List

**Symptom:** Aegis does not show up under **Appearance → Themes**.

**Cause:** The theme folder may be nested incorrectly or the `style.css` header is not readable.

**Solution:**

1. Verify the theme is located at `wp-content/themes/aegis/style.css` (not nested deeper).
2. Check file permissions — WordPress needs read access to the theme directory.
3. Ensure the folder name is `aegis` (lowercase).

### “This theme requires WordPress 7.0”

**Symptom:** WordPress prevents activation with a version requirement message.

**Cause:** Your WordPress version is older than the minimum required version.

**Solution:**

Update WordPress to version 7.0 or later via **Dashboard → Updates**.

### “This theme requires PHP 8.1”

**Symptom:** WordPress prevents activation with a PHP version requirement message.

**Cause:** Your server PHP version is older than 8.1.

**Solution:**

1. Check your PHP version in **Tools → Site Health → Info → Server**.
2. Contact your hosting provider to upgrade PHP, or change the PHP version in your hosting control panel.

## Editor Issues

### Block Patterns Not Showing

**Symptom:** The pattern categories are empty or patterns do not appear in the inserter.

**Cause:** Pattern files may not have loaded correctly, or WooCommerce/plugin patterns are gated. Before Aegis 1.0.2 one theme pattern broke the whole list, and the **Patterns** tab stayed empty.

**Solution:**

1. Update Aegis to 1.0.2 or later.
2. Clear all caches (browser, page cache plugin, server cache).
3. Deactivate and reactivate the theme.
4. Ensure the theme `patterns/` directory exists and contains PHP files.
5. For **WooCommerce shop patterns**, install and activate **WooCommerce** and the **Aegis Dash**. See [FAQ](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/faq/#why-dont-i-see-shop-or-product-patterns-in-the-inserter).
6. Check the PHP error log for any pattern registration errors.

### Site Editor Shows Blank Page

**Symptom:** Opening **Appearance → Editor** shows a blank or loading screen.

**Cause:** JavaScript errors, plugin conflicts, or insufficient server resources.

**Solution:**

1. Open browser developer tools (F12) and check the Console tab for errors.
2. Deactivate all plugins except WooCommerce (if used) and test.
3. Increase PHP memory limit to 256 MB.
4. Clear browser cache and try in an incognito window.

### Templates Not Loading Correctly

**Symptom:** Pages show incorrect layouts or missing template parts.

**Cause:** Template customizations may be conflicting, or the template files are corrupted.

**Solution:**

1. In the Site Editor, navigate to **Templates**.
2. Select the problematic template.
3. Click the Options menu (three dots) and select **Clear customizations**.
4. Check if the issue resolves.
5. If not, re-upload the theme files.

### Editor Styles Missing Inside the Canvas

**Symptom:** Global Styles, icons, or Aegis inspector panels look unstyled or broken in the Post Editor or Site Editor, while the front end looks fine.

**Cause:** The block editor canvas is iframed; styles or scripts may target the wrong document.

**Solution:**

1. Hard-refresh the editor and clear any object cache / CDN cache for admin assets.
2. Confirm the issue persists with only Aegis (and WooCommerce if required) active.
3. Check the browser console for failed CSS/JS loads or cross-frame errors.
4. If you maintain custom editor scripts, query the editor canvas document rather than the parent `document` when reading DOM nodes inside the canvas.

### Responsive Preview Mismatch

**Symptom:** Device preview or Landscape/Tablet controls disagree with the front end, or Core viewport styles and Aegis Display controls appear to fight each other.

**Cause:** Core responsive style states and Aegis visibility/layout breakpoints are separate systems.

**Solution:**

1. Confirm which system you intended: Core for standard style supports; Aegis for hide/show, display/order/width, and query columns.
2. Clear conflicting per-device Display values on the block if Core viewport styles already cover the change.
3. Test the front end at the same widths (mobile, landscape ~480–767px, tablet ~768–1023px, desktop).
4. See [Enhanced Core Blocks](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/enhanced-core-blocks/#core-responsive-states-and-aegis-breakpoints) for the supported relationship.

### Icons Visible in the Editor but Missing on the Front End

**Symptom:** Icon blocks, header SVGs, or dark/light toggle glyphs render in the Site Editor but are invisible, clipped, or missing on the published page.

**Cause:** Two separate issues can look like a dark-mode failure:

1. The skip-to-content link was prepended *before* the header template part was parsed, so the entire `<header>` nested inside `.skip-link.screen-reader-text`.
2. Outline (stroked) icons lost `stroke` / `fill="none"` to Core SVG sanitization, or fills stayed hardcoded `#000` instead of `currentColor`.

**Solution:**

1. View page source: the skip link must be a **sibling** of `<header role="banner">`, not a parent of the header.
2. Confirm Aegis `SkipLink` runs at priority 11 and `TemplatePart` uses the HTML tag processor (not wrapping the skip link as the landmark root).
3. For custom collections, confirm the Icon block `icon` attribute is `{collection}/{name}` (for example `social/facebook`), not a removed Image Icon variation (`is-style-icon`).
4. Hard-refresh and check that icon CSS loads on the front end (`core-blocks/icon.css`).
5. See [SVG Icons](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/svg-icons/).

### Icon Library Shows No Icons

**Symptom:** The Icon block’s **Icon library** lists its collections, but the icon grid keeps loading and never shows any icons, including under **All** and in search.

**Cause:** Before Aegis 1.0.2, each request for icons read every icon file of every collection, about 5,800 with the Pro sets. Slower hosts could not finish in time.

**Solution:**

1. Update Aegis to 1.0.2 or later. The library then loads only the icons it shows and caches them.
2. The first opening after an update or an icon change rebuilds the cache and can take a few seconds. Later openings take under a second.
3. If it still does not load, check the browser’s Network tab for the `wp/v2/icons` request and the PHP error log.
4. See [SVG Icons](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/svg-icons/).

### SVG Image variation shows the media uploader or an Optimize SVG button

**Symptom:** Inserting the **SVG** Image variation opens Core’s image placeholder, or **SVG Settings** still offers Optimize SVG / SVGOMG.

**Cause:** The live inspector is `svg-editor.js`. An empty SVG uses the Aegis placeholder (preview-only). Optimize SVG was removed. A cached `editor.js` can still show the old bundled panel.

**Solution:**

1. Hard-refresh the editor so `svg-editor.js` and bundled `editor.js` reload.
2. Enable at least one extra at **Aegis → Blocks → SVG** (Paste Markup is enough).
3. Paste markup in **SVG Settings**. Do not store an empty `data:image/svg+xml` URL.
4. See [Block Variations](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/block-variations/#svg).

### Slider Arrows and Dots Missing

**Symptom:** Slides stack or pack together with no arrows or dots, or Splide never initializes.

**Cause:** Saved **Slides Per Page** may be 3 on a block that only has three slides. Splide hides overflow UI when every slide is visible. Older templates still store `perPage: 3` after the default changed to 1.

**Solution:**

1. Select the Slider and set **Slides Per Page** to 1, or add more slides than `perPage`.
2. Confirm arrows and dots are on in the inspector, and that **Aegis → Blocks → Slider** Navigation and Pagination extras are on.
3. On the front end, confirm `splide.js`, `splide.css`, and the slider view script load.
4. See [Slider and Slide](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/slider/).

## Display Issues

### Fonts Not Loading

**Symptom:** Text displays in a system font instead of Lexend or Lexend Deca.

**Cause:** Font files may be missing, blocked by the server, or a caching issue.

**Solution:**

1. Verify font files exist in `assets/fonts/` within the theme directory.
2. Check browser developer tools Network tab for failed font requests (404 errors).
3. Ensure your server allows serving `.woff2` files (check MIME types).
4. Clear CDN cache if using a CDN.
5. Disable any browser extensions that might block font loading.

### Dark Mode Not Working

**Symptom:** The site stays in light mode regardless of settings.

**Cause:** The `is-style-dark` class is not being applied, or CSS is not loading.

**Solution:**

1. Verify the `is-style-dark` class is applied to the appropriate element.
2. Check if a caching plugin is serving a cached light-mode version.
3. Inspect the element in browser developer tools to confirm the class is present.
4. Clear all caches.

See [Dark Mode](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/dark-mode/) for configuration details.

### Style Variation Colors Not Applying

**Symptom:** Changing the style variation does not update the site colors.

**Cause:** Browser cache, page cache, or custom Global Styles overrides taking precedence.

**Solution:**

1. Clear browser cache (Ctrl + Shift + R for hard refresh).
2. Clear page cache plugins.
3. Check if you have custom color overrides in **Styles → Colors** that take precedence.
4. Reset Global Styles if necessary (Styles → Options → Reset to defaults).

### Layout Breaking on Mobile

**Symptom:** Content overflows or layout breaks on small screens.

**Cause:** Content (images, tables, code blocks) may exceed the viewport width.

**Solution:**

1. Ensure images do not have fixed widths larger than the viewport.
2. Wrap wide tables in a Group block with overflow handling.
3. Use responsive alignment (avoid fixed pixel widths on blocks).
4. Test with browser developer tools responsive mode.

## Performance Issues

### Slow Page Load

**Symptom:** Pages take a long time to load despite the zero-base loading strategy.

**Cause:** External resources, unoptimized images, or plugin conflicts.

**Solution:**

1. Run a Lighthouse audit to identify bottlenecks.
2. Check for large unoptimized images.
3. Verify that only necessary plugin scripts are loading.
4. Enable page caching.
5. Check server response time (TTFB).
6. See [Performance](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/performance/) for theme optimization strategies.
7. Enable plugin toggles at **Aegis → Performance** (oEmbed, dashicons, heartbeat, XML-RPC/head cleanup, embed facades, emoji with Pro) — see [Aegis Dash Performance](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/performance/).
8. For Query Loops, enable **Query Loop Performance** at **Aegis → Performance**; with Pro, configure per-block options in [Query Performance (Pro)](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/).

### Assets Loading on Every Page

**Symptom:** Theme CSS/JS files load on pages that do not use the corresponding blocks.

**Cause:** A plugin or custom code may be force-enqueueing styles.

**Solution:**

1. Check if any plugins are enqueueing Aegis styles globally.
2. Verify no custom code uses `wp_enqueue_style` for theme assets unconditionally.
3. Use browser developer tools to identify which styles are loading and trace their source.

## WooCommerce Issues

### WooCommerce Templates Not Loading

**Symptom:** WooCommerce pages use generic layouts instead of the Aegis templates.

**Cause:** WooCommerce may be using legacy PHP templates instead of block templates.

**Solution:**

1. Ensure WooCommerce is updated to version 8.0 or later.
2. Check that WooCommerce block templates are enabled (not legacy mode).
3. Navigate to **WooCommerce → Settings → Advanced** and verify page assignments.
4. Clear WooCommerce transients.

### Multi-Step Checkout Not Working

**Symptom:** The checkout displays as a single page instead of multiple steps.

**Cause:** The page is not using the multi-step checkout template, or the WooCommerce integration is off so checkout assets do not load.

**Solution:**

1. Enable **Aegis → Integrations → E-commerce → WooCommerce**.
2. Edit the checkout page.
3. Change the template to **Multi-Step Checkout**.
4. Or verify the template is correctly assigned in the Site Editor.

### Wishlist Page Empty

**Symptom:** The wishlist page shows no products, displays `[ti_wishlistsview]` as plain text, or is blank.

**Cause:** The TI WooCommerce Wishlist plugin is missing, inactive, WooCommerce or the Aegis Dash is inactive, or the page is not using the Wishlist template.

**Solution:**

1. Install and activate **WooCommerce**, the **Aegis Dash**, and [TI WooCommerce Wishlist](https://wordpress.org/plugins/ti-woocommerce-wishlist/).
2. Edit the wishlist page and confirm **Template** is set to **Wishlist** (visible only when dependencies are active).
3. The Wishlist FSE template loads Aegis Dash’s `template-page-wishlist` pattern, which includes the `[ti_wishlistsview]` shortcode.
4. Clear page and object caches, then reload the page while logged in as a customer who has saved items.

See [WooCommerce Integration](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/woocommerce-integration/#wishlist-ti-woocommerce-wishlist) for full setup steps.

### Shop or Product Patterns Missing

**Symptom:** WooCommerce block patterns (cart, checkout, product grids, store headers) do not appear in the pattern inserter.

**Cause:** WooCommerce block patterns are registered by the **Aegis Dash** only when **WooCommerce is active**.

**Solution:**

1. Install and activate **WooCommerce** and the **Aegis Dash**.
2. Confirm WooCommerce block templates are enabled.
3. See [FAQ](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/faq/#why-dont-i-see-shop-or-product-patterns-in-the-inserter) and [Aegis Dash Patterns](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/plugin-patterns/).

## Plugin Conflicts

### General Debugging Steps

When you suspect a plugin conflict:

1. Deactivate all plugins.
2. Check if the issue resolves.
3. Reactivate plugins one by one to identify the conflict.
4. Report the conflict, with details, through [Getting Support](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/support/).

### Common Conflicting Plugin Types

- **Optimization plugins** that aggressively combine or defer CSS/JS.
- **Security plugins** that block certain file types (fonts, SVGs).
- **Page builder plugins** that inject their own styling frameworks.

## Update Issues

See [Updating](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/updating/) for detailed update troubleshooting, including failed updates and rollback procedures.

## Getting Help

If your issue is not listed here:

1. Search the [Aegis documentation](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/) for similar reports.
2. Check the [FAQ](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/faq/) for additional answers.
3. Ask for help through [Getting Support](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/support/): the [community forum](https://www.atmostfear-entertainment.com/community/) for free users, or a [support ticket](https://www.atmostfear-entertainment.com/account/support-tickets/) with Aegis Pro. Include:
  - WordPress version
  - PHP version
  - Aegis version
  - Steps to reproduce
  - Expected vs. actual behavior
  - Error messages (from PHP error log or browser console)

## Related Pages

- [Getting Support](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/support/) — Where to ask for help, free and Pro.
- [FAQ](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/faq/) — Frequently asked questions.
- [Updating](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/updating/) — Update troubleshooting.
- [Requirements](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/requirements/) — Verify system requirements.
- [Performance](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/performance/) — Theme performance optimization.
- [Aegis Dash Performance](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/performance/) — Site-wide and Query Loop toggles.

---

Source: https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/common-issues/ · Updated 2026-11-22
