Plugin periodically hangs for 5min when ‘WP_DEBUG’ is false
-
We use Simply Static to build a large site with multiple WPML translations. This takes a while, but generally works fine, with build time around 1.5 hours for 10,000+ objects. However, disabling WordPress debug mode by setting
define('WP_DEBUG', false);
in wp-config.php results in build times reaching almost 17 hours. The debug log file shows that Simply Static just does nothing for 4-5 minutes at a time, and then resuming. No other error messages appear in the log, and the build completes successfully. Any ideas what might be causing this?A brief example:
[2019-11-13 00:51:44] [class-ss-fetch-urls-task.php:99] Extracting URLs and replacing URLs in the static file [2019-11-13 00:51:44] [class-ss-fetch-urls-task.php:106] Adding 67 URLs to the queue [2019-11-13 00:51:44] [class-ss-fetch-urls-task.php:117] We're saving this URL; keeping the static file [2019-11-13 00:51:44] [class-ss-fetch-urls-task.php:40] URL: https://www2019.dash.org/tr/madencilik/ [2019-11-13 00:57:00] [class-ss-archive-creation-job.php:105] Current task: fetch_urls [2019-11-13 00:57:00] [class-ss-archive-creation-job.php:120] Performing task: fetch_urls [2019-11-13 00:57:00] [class-ss-fetch-urls-task.php:37] Total pages: 6693; Pages remaining: 227 [2019-11-13 00:57:00] [class-ss-fetch-urls-task.php:40] URL: https://www2019.dash.org/tr/madencilik/ [2019-11-13 00:57:00] [class-ss-fetch-urls-task.php:50] URL is not being excluded
The page I need help with: [log in to see the link]
- The topic ‘Plugin periodically hangs for 5min when ‘WP_DEBUG’ is false’ is closed to new replies.