Troubleshooting
This guide covers common issues you might encounter with WyvernPress and how to resolve them.
Plugin Issues
Section titled “Plugin Issues”WyvernPress Panel Not Appearing
Section titled “WyvernPress Panel Not Appearing”Symptoms: The WyvernPress sidebar panel doesn’t show in the block editor.
Solutions:
-
Verify plugin is activated
Terminal window # Via WP-CLIwp plugin list | grep wyvernpressIf inactive, activate it in Plugins → Installed Plugins.
-
Check for JavaScript errors
- Open browser DevTools (F12)
- Go to Console tab
- Look for red errors mentioning WyvernPress
-
Clear browser cache
- Press Ctrl+Shift+Delete (Windows) or Cmd+Shift+Delete (Mac)
- Select “Cached images and files”
- Clear and reload the editor
-
Deactivate conflicting plugins Common conflicts:
- Other Gutenberg enhancement plugins
- JavaScript optimization plugins
- CSS minification plugins
Plugin Won’t Activate
Section titled “Plugin Won’t Activate”Symptoms: Error message when activating WyvernPress.
Common Causes & Solutions:
| Error | Solution |
|---|---|
| ”PHP version not supported” | Upgrade to PHP 8.1+ |
| “WordPress version too old” | Update to WordPress 6.4+ |
| “Fatal error: Class not found” | Run composer install or re-upload plugin |
| ”Memory limit exceeded” | Increase PHP memory limit to 256M+ |
Check PHP version:
wp eval "echo PHP_VERSION;"Styling Issues
Section titled “Styling Issues”Styles Not Appearing on Frontend
Section titled “Styles Not Appearing on Frontend”Symptoms: CSS looks correct in editor but not on published page.
Solutions:
-
Clear all caches
- WordPress object cache
- Page caching plugin (WP Super Cache, W3 Total Cache, etc.)
- CDN cache (Cloudflare, etc.)
- Browser cache
-
Verify post is published
- Drafts don’t show custom styles to visitors
- Check post status in the editor
-
Check for CSS conflicts
- Open DevTools → Elements tab
- Select the styled element
- Look for overriding styles (crossed out CSS)
- Theme CSS may have
!importantdeclarations
-
Inspect the CSS output
- View page source (Ctrl+U)
- Search for “wyvernpress”
- Verify CSS is present in
<style>tags
Styles Disappear After Saving
Section titled “Styles Disappear After Saving”Symptoms: Applied styles vanish when reopening the post.
Solutions:
-
Verify you clicked “Apply Styles”
- Generate CSS → Preview → Apply Styles (must click this!)
- Then save/publish the post
-
Check block attributes
- DevTools → Console
- Type:
wp.data.select('core/block-editor').getSelectedBlock() - Look for
wyvernpressCSSattribute
-
Database permissions
- WordPress might not be saving post meta
- Check for database errors in debug log
CSS Overriding Theme Styles
Section titled “CSS Overriding Theme Styles”Symptoms: WyvernPress CSS conflicts with theme.
Solutions:
-
Increase specificity manually
- Edit the generated CSS
- Add more specific selectors
-
Use
!importantsparingly- Edit CSS:
color: #0073aa !important; - Only use when necessary
- Edit CSS:
-
Contact theme developer
- Request they reduce CSS specificity
- Or ask for WyvernPress compatibility
AI Generation Issues
Section titled “AI Generation Issues””AI Generation Failed” Error
Section titled “”AI Generation Failed” Error”Symptoms: Error when generating complex styles.
Solutions:
-
Verify API key
- Go to WyvernPress → Settings
- Re-enter your OpenRouter API key
- Test with “Test Connection” button
-
Check API credits
- Log into OpenRouter
- Verify you have available credits
- Top up if necessary
-
Try a different model
- Settings → AI Model
- Switch from GPT-4 to Claude 3 Haiku (more reliable)
-
Simplify your prompt
- Break complex requests into smaller pieces
- Use Pattern Library terms when possible
Slow AI Responses
Section titled “Slow AI Responses”Symptoms: AI takes 10+ seconds to respond.
Solutions:
-
Use faster models
- Claude 3 Haiku (fastest)
- Claude 3.5 Sonnet (fast + quality)
- Avoid GPT-4 for simple requests
-
Check your connection
- AI requests go through OpenRouter
- Test your internet speed
- Try from a different network
-
Simplify prompts
- Shorter prompts = faster responses
- Use Pattern Library for simple styles
AI Generates Wrong CSS
Section titled “AI Generates Wrong CSS”Symptoms: CSS doesn’t match your description.
Solutions:
-
Be more specific
- Bad: “Make it look nice”
- Good: “Blue (#0073aa) background, white text, 16px padding, 8px border-radius”
-
Use CSS terminology
- “padding” instead of “space inside”
- “margin” instead of “space outside”
- “border-radius” instead of “round the corners”
-
Try a different model
- Claude models are best for CSS
- GPT-4 is more creative but sometimes incorrect
-
Edit manually
- Click “Edit CSS”
- Adjust the generated code
- Apply the corrected version
Pattern Library Issues
Section titled “Pattern Library Issues”Patterns Not Matching
Section titled “Patterns Not Matching”Symptoms: Pattern Library returns low confidence, falls back to AI.
Solutions:
-
Use exact pattern terms
- See Pattern Library Reference
- Use “blue” not “azure” or “cerulean”
- Use “shadow” not “elevation”
-
Simplify your request
- One concept at a time
- “Add shadow” then “Make it blue”
-
Check for typos
- “shadw” won’t match “shadow”
- Patterns are normalized but typos still fail
Custom Patterns Not Working
Section titled “Custom Patterns Not Working”Symptoms: Added custom patterns via filter but they don’t match.
Solutions:
-
Verify filter syntax
add_filter( 'wyvernpress_patterns', function( $patterns ) {$patterns['my pattern'] = array('background-color' => '#ff0000',);return $patterns; // Must return!} ); -
Clear pattern cache
- WyvernPress → Settings → Clear Cache
- Or:
wp cache flush
-
Check filter priority
- Default priority is 10
- Use higher priority if overriding existing patterns
Performance Issues
Section titled “Performance Issues”Slow Editor Loading
Section titled “Slow Editor Loading”Symptoms: Block editor takes long to load with WyvernPress.
Solutions:
-
Enable Redis object caching
- Install Redis Object Cache plugin
- Configure Redis connection
- Reduces database queries significantly
-
Increase PHP memory
define('WP_MEMORY_LIMIT', '256M');in wp-config.php
-
Disable unused features
- WyvernPress → Settings → Disable features you don’t use
High Server Load
Section titled “High Server Load”Symptoms: Server slows down when using WyvernPress.
Solutions:
-
Use Pattern Library
- 60% of requests can use patterns
- Zero external API calls
- Much faster than AI
-
Enable caching
- Install a page caching plugin
- Enable object caching (Redis/Memcached)
- Use a CDN
-
Batch operations
- Style one element, copy to others
- Don’t regenerate identical styles
Browser & Compatibility Issues
Section titled “Browser & Compatibility Issues”Safari/Firefox Specific Issues
Section titled “Safari/Firefox Specific Issues”Symptoms: Works in Chrome but not other browsers.
Solutions:
-
Clear browser data
- Each browser has separate cache
- Clear specifically for your site
-
Check for browser extensions
- Ad blockers can interfere
- Disable extensions temporarily
-
Update browser
- Use latest browser version
- Safari requires macOS updates
Mobile Editor Issues
Section titled “Mobile Editor Issues”Symptoms: WyvernPress panel hard to use on mobile.
Solutions:
-
Use tablet or desktop
- Block editor is not optimized for phones
- WyvernPress follows WordPress patterns
-
Request desktop site
- In mobile browser, request desktop version
- Provides more screen space
Debug Mode
Section titled “Debug Mode”Enable Debug Logging
Section titled “Enable Debug Logging”For advanced troubleshooting, enable WordPress debug mode:
// In wp-config.phpdefine( 'WP_DEBUG', true );define( 'WP_DEBUG_LOG', true );define( 'WP_DEBUG_DISPLAY', false );Then check wp-content/debug.log for WyvernPress-related errors.
WyvernPress Debug Info
Section titled “WyvernPress Debug Info”Get plugin status:
# Via WP-CLIwp eval "var_dump(\WyvernPress\Core\Plugin::get_instance()->get_status());"Check API Connectivity
Section titled “Check API Connectivity”Test OpenRouter connection:
# Via WP-CLIwp eval "\$integration = \WyvernPress\Freemius\Freemius_Integration::get_instance();var_dump(\$integration->test_api_connection());"Getting Help
Section titled “Getting Help”Before Contacting Support
Section titled “Before Contacting Support”Gather this information:
- WordPress version (
wp core version) - PHP version (
wp eval "echo PHP_VERSION;") - WyvernPress version (Plugins page)
- Browser and version
- Error messages (exact text or screenshot)
- Debug log entries
Support Channels
Section titled “Support Channels”- Documentation: You’re here!
- GitHub Issues: Report bugs
- WordPress.org Forums: Community support
Common Info to Include
Section titled “Common Info to Include”WordPress: 6.x.xPHP: 8.x.xWyvernPress: 1.x.xBrowser: Chrome 120Error: "Exact error message here"Steps to reproduce:1. Step one2. Step two3. Error occursQuick Fixes Checklist
Section titled “Quick Fixes Checklist”Try these steps for most issues:
- Clear browser cache
- Clear WordPress cache
- Deactivate and reactivate WyvernPress
- Verify API key (if using AI)
- Check for plugin conflicts (deactivate other plugins)
- Update WordPress to latest version
- Update WyvernPress to latest version
- Check debug.log for errors
Next Steps
Section titled “Next Steps”- Basic Usage Guide → - Learn the basics
- AI Styling → - Configure AI features
- Pattern Library → - Use instant patterns