• Resolved emily0804

    (@emily0804)


    Hello,

    Can anyone advise how I can stop my website crashing when I enable minify?

    At the moment, if I enable it I get the following error when trying to load the website: There has been a critical error on this website.

Viewing 1 replies (of 1 total)
  • If enabling minify in WP-Optimize causes your website to crash and display a “There has been a critical error on this website” message, follow these steps to troubleshoot and resolve the issue:

    1. Disable Other Optimization Plugins:
      • Ensure no other caching or minification plugins are active, as they may conflict with WP-Optimize.
    2. Increase Memory Limit:
      • Increase the memory limit in your wp-config.php file by adding or updating the following line: define('WP_MEMORY_LIMIT', '256M');
    3. Enable Debug Mode:
      • Enable WordPress debug mode to get more details about the error. Add or update the following lines in your wp-config.php file:
        define('WP_DEBUG', true);
        define('WP_DEBUG_LOG', true);
        define('WP_DEBUG_DISPLAY', false);
      • Check the wp-content/debug.log file for detailed error messages.
    4. Check for Theme or Plugin Conflicts:
      • Temporarily switch to a default WordPress theme (like Twenty Twenty-One) and deactivate all other plugins except WP-Optimize. If the problem is resolved, reactivate your theme and plugins one by one to identify the conflict.
    5. Clear Cache:
      • Clear any existing cache, including browser cache and server-side cache (if using a service like Cloudflare).

    If these steps do not resolve the issue, please provide the debug log details for further assistance.

Viewing 1 replies (of 1 total)
  • The topic ‘Enabling Minify Crashes Website’ is closed to new replies.