Error Messages Guide

Troubleshoot common WordPress and plugin error messages. Find quick solutions to get your website back online.

Before You Start

Most errors can be resolved quickly by following our step-by-step solutions. Always backup your website before making changes.

WordPress Fatal Errors

1. Fatal Error: Maximum Execution Time Exceeded

Error Message:

Fatal error: Maximum execution time of 30 seconds exceeded

💡 Solution:

This error occurs when WordPress scripts take too long to execute.

  1. Edit .htaccess file
    Add this line to your .htaccess file:
    php_value max_execution_time 300
  2. Edit wp-config.php
    Add this line before "/* That's all, stop editing! */":
    ini_set('max_execution_time', 300);
  3. Contact your hosting provider
    Ask them to increase the max_execution_time limit

2. Fatal Error: Allowed Memory Size Exhausted

Error Message:

Fatal error: Allowed memory size of 134217728 bytes exhausted

💡 Solution:

Your website is using more memory than allowed.

  1. Increase memory in wp-config.php
    Add this line at the top of wp-config.php:
    ini_set('memory_limit', '256M');
  2. Edit .htaccess file
    Add this line:
    php_value memory_limit 256M
  3. Deactivate unnecessary plugins
    Remove plugins that consume lots of memory

3. White Screen of Death (WSOD)

Error Message:

Blank white page with no content or error message

💡 Solution:

The white screen usually indicates a PHP fatal error.

  1. Enable WordPress debug mode
    Add these lines to wp-config.php:
    define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
  2. Check error logs
    Look for error_log file in /wp-content/ folder
  3. Deactivate all plugins
    Rename /wp-content/plugins/ to /wp-content/plugins-off/
  4. Switch to default theme
    Rename your active theme folder temporarily

Plugin-Specific Errors

Lion Social Share Plugin Errors

Error Message:

Plugin could not be activated because it triggered a fatal error

💡 Solution:

  1. Check PHP version
    Lion Social Share requires PHP 7.4 or higher
  2. Update WordPress
    Ensure you have WordPress 5.0 or later
  3. Re-download the plugin
    Download fresh copy from WordPress.org

Database Connection Error

Error Message:

Error establishing a database connection

💡 Solution:

  1. Check wp-config.php database settings
    Verify DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST
  2. Test database connection
    Create a test file to check if database is accessible
  3. Contact hosting provider
    Database server might be down

HTTP Error Codes

500 Internal Server Error

⚠️ Critical Error

This is a server configuration issue that needs immediate attention.

💡 Solution:

  1. Check .htaccess file
    Rename .htaccess to .htaccess-backup temporarily
  2. Increase memory limit
    Follow memory exhausted error solution above
  3. Deactivate plugins
    Deactivate all plugins to identify the culprit
  4. Check error logs
    Look in cpanel or hosting control panel for error logs

403 Forbidden Error

Error Message:

You don't have permission to access this resource

💡 Solution:

  1. Check file permissions
    Folders: 755, Files: 644, wp-config.php: 600
  2. Reset .htaccess
    Go to Settings → Permalinks and click "Save Changes"
  3. Check security plugins
    Security plugins might be blocking access

Plugin Installation Errors

Destination folder already exists

Error Message:

Destination folder already exists. Plugin install failed.

💡 Solution:

  1. Delete old plugin folder
    Remove the existing plugin folder via FTP
  2. Use WordPress admin
    Delete plugin through Plugins → Installed Plugins
  3. Clear cache
    Clear any caching before reinstalling

Quick Diagnostic Steps

🔧 General Troubleshooting Process

Follow these steps for any WordPress error:

  1. Enable Debug Mode
    Add debug constants to wp-config.php to see detailed error messages
  2. Deactivate All Plugins
    Temporarily disable all plugins to isolate the issue
  3. Switch to Default Theme
    Activate a default WordPress theme (Twenty Twenty-Four)
  4. Check Error Logs
    Review server error logs and WordPress debug.log file
  5. Update Everything
    Ensure WordPress core, themes, and plugins are up to date
  6. Restore from Backup
    If nothing works, restore from a known good backup

🚨 Emergency Actions

If your site is completely broken:

  • Rename the plugins folder to disable all plugins
  • Upload a fresh WordPress core (except wp-config.php)
  • Contact your hosting provider immediately
  • Restore from backup if available

Lion Social Share Specific Issues

Social buttons not displaying

💡 Solutions:

  • Check if plugin is activated in Plugins → Installed Plugins
  • Verify display settings in Customizer → Lion Social Share
  • Clear any caching plugins
  • Check if auto-display is enabled for your content type

Icons not loading

💡 Solutions:

  • Check if Font Awesome is loading (network conflicts)
  • Try a different button style in the customizer
  • Disable other icon-related plugins temporarily
  • Clear browser cache and page cache
Scroll to Top