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.
- Edit .htaccess file
Add this line to your .htaccess file:
php_value max_execution_time 300
- Edit wp-config.php
Add this line before "/* That's all, stop editing! */":
ini_set('max_execution_time', 300);
- 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.
- Increase memory in wp-config.php
Add this line at the top of wp-config.php:
ini_set('memory_limit', '256M');
- Edit .htaccess file
Add this line:
php_value memory_limit 256M
- 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.
- 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);
- Check error logs
Look for error_log file in /wp-content/ folder
- Deactivate all plugins
Rename /wp-content/plugins/ to /wp-content/plugins-off/
- 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:
- Check PHP version
Lion Social Share requires PHP 7.4 or higher
- Update WordPress
Ensure you have WordPress 5.0 or later
- Re-download the plugin
Download fresh copy from WordPress.org
Database Connection Error
Error Message:
Error establishing a database connection 💡 Solution:
- Check wp-config.php database settings
Verify DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST
- Test database connection
Create a test file to check if database is accessible
- 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:
- Check .htaccess file
Rename .htaccess to .htaccess-backup temporarily
- Increase memory limit
Follow memory exhausted error solution above
- Deactivate plugins
Deactivate all plugins to identify the culprit
- 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:
- Check file permissions
Folders: 755, Files: 644, wp-config.php: 600
- Reset .htaccess
Go to Settings → Permalinks and click "Save Changes"
- 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:
- Delete old plugin folder
Remove the existing plugin folder via FTP
- Use WordPress admin
Delete plugin through Plugins → Installed Plugins
- Clear cache
Clear any caching before reinstalling
Quick Diagnostic Steps
🔧 General Troubleshooting Process
Follow these steps for any WordPress error:
- Enable Debug Mode
Add debug constants to wp-config.php to see detailed error messages
- Deactivate All Plugins
Temporarily disable all plugins to isolate the issue
- Switch to Default Theme
Activate a default WordPress theme (Twenty Twenty-Four)
- Check Error Logs
Review server error logs and WordPress debug.log file
- Update Everything
Ensure WordPress core, themes, and plugins are up to date
- 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