Title: Getting timeout error while publishing
Last modified: September 13, 2024

---

# Getting timeout error while publishing

 *  Resolved [slawa19](https://wordpress.org/support/users/slawa19/)
 * (@slawa19)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/getting-timeout-error-while-publishing/)
 * I’m still getting errors while publishing although set Publication Task Timeout
   = 1000
   Maybe I should set more or there is another reason?
 * `12.09.2024 в 14:00 - Publication failed during initiate_deployment task
   Task
   failed due to a timeout or fatal error; consider increasing "Publication Task
   Timeout" under Staatic > Settings > Advanced.
 * `RuntimeException: Task failed due to a timeout or fatal error; consider increasing"
   Publication Task Timeout" under Staatic > Settings > Advanced. in /home/blogger/
   web/blogger.com.ua/public_html/wp-content/plugins/staatic/src/Publication/BackgroundPublisher.
   php:232
   Stack trace: 0 /home/blogger/web/blogger.com.ua/public_html/wp-content/
   plugins/staatic/vendor/deliciousbrains/wp-background-processing/classes/wp-background-
   process.php(235): Staatic\WordPress\Publication\BackgroundPublisher->task() 1/
   home/blogger/web/blogger.com.ua/public_html/wp-content/plugins/staatic/src/Publication/
   BackgroundPublisher.php(148): Staatic\Vendor\WP_Background_Process->handle() 
   2 /home/blogger/web/blogger.com.ua/public_html/wp-content/plugins/staatic/vendor/
   deliciousbrains/wp-background-processing/classes/wp-background-process.php(151):
   Staatic\WordPress\Publication\BackgroundPublisher->handle() 3 /home/blogger/web/
   blogger.com.ua/public_html/wp-includes/class-wp-hook.php(324): Staatic\Vendor\
   WP_Background_Process->maybe_handle() 4 /home/blogger/web/blogger.com.ua/public_html/
   wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 5 /home/blogger/
   web/blogger.com.ua/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
   6 /home/blogger/web/blogger.com.ua/public_html/wp-admin/admin-ajax.php(207): 
   do_action() 7 {main}
    -  This topic was modified 1 year, 8 months ago by [slawa19](https://wordpress.org/support/users/slawa19/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Team Staatic](https://wordpress.org/support/users/staatic/)
 * (@staatic)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/getting-timeout-error-while-publishing/#post-18012635)
 * Hi [@slawa19](https://wordpress.org/support/users/slawa19/), sorry to hear you’re
   running into a timeout issue during the deployment of your static site. To help
   us better understand the issue, could you please provide some additional details:
    1. Which deployment method are you using (e.g., Local Directory, S3, etc.)?
    2. Can you give us an idea of the size of your site? Specifically, how many resources
       does the publication encompass? You can find this information from the publication
       detail page’s summary view, as well as the resources tab list view.
 * Additionally, it might be helpful to check your site’s health information. You
   can do this by going to WP-Admin > Tools > Site Health > Info (tab) and clicking“
   Copy site info to clipboard.”. You may email this information to [contact@staatic.com](https://wordpress.org/support/topic/getting-timeout-error-while-publishing/contact@staatic.com?output_format=md)
   if you prefer.
 * Looking forward to your feedback.
 *  Plugin Author [Team Staatic](https://wordpress.org/support/users/staatic/)
 * (@staatic)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/getting-timeout-error-while-publishing/#post-18031359)
 * Hi [@slawa19](https://wordpress.org/support/users/slawa19/), just checking in
   to see if you were able to resolve the timeout issue you were experiencing during
   the deployment of your static site. If you’re still having trouble, please let
   us know so we can assist you further. Thanks!
 *  Thread Starter [slawa19](https://wordpress.org/support/users/slawa19/)
 * (@slawa19)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/getting-timeout-error-while-publishing/#post-18038377)
 * Set Publication Task Timeout to 10000
 * But still unable to get site deployed.
 * RuntimeException: Task failed due to a timeout or fatal error; consider increasing“
   Publication Task Timeout” under Staatic > Settings > Advanced. in /home/blogger/
   web/blogger.com.ua/public_html/wp-content/plugins/staatic/src/Publication/BackgroundPublisher.
   php:232
   Stack trace:#0 /home/blogger/web/blogger.com.ua/public_html/wp-content/
   plugins/staatic/vendor/deliciousbrains/wp-background-processing/classes/wp-background-
   process.php(235): Staatic\WordPress\Publication\BackgroundPublisher->task()#1/
   home/blogger/web/blogger.com.ua/public_html/wp-content/plugins/staatic/src/Publication/
   BackgroundPublisher.php(148): Staatic\Vendor\WP_Background_Process->handle()#
   2 /home/blogger/web/blogger.com.ua/public_html/wp-content/plugins/staatic/vendor/
   deliciousbrains/wp-background-processing/classes/wp-background-process.php(151):
   Staatic\WordPress\Publication\BackgroundPublisher->handle()#3 /home/blogger/web/
   blogger.com.ua/public_html/wp-includes/class-wp-hook.php(324): Staatic\Vendor\
   WP_Background_Process->maybe_handle()#4 /home/blogger/web/blogger.com.ua/public_html/
   wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#5 /home/blogger/
   web/blogger.com.ua/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()#
   6 /home/blogger/web/blogger.com.ua/public_html/wp-admin/admin-ajax.php(207): 
   do_action()#7 {main}
 *  Thread Starter [slawa19](https://wordpress.org/support/users/slawa19/)
 * (@slawa19)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/getting-timeout-error-while-publishing/#post-18038396)
 * Site has 122 746 elements. I’m trying to deploy on Netlify.
 *     ```wp-block-code
       ` wp-coreversion: 6.6.2site_language: ru_RUuser_language: ru_RUtimezone: +02:00permalink: /%year%/%postname%/https_status: truemultisite: falseuser_registration: 0blog_public: 1default_comment_status: openenvironment_type: productionuser_count: 15dotorg_communication: true wp-paths-sizeswordpress_path: /home/blogger/web/blogger.com.ua/public_htmlwordpress_size: loading…uploads_path: /home/blogger/web/blogger.com.ua/public_html/wp-content/uploadsuploads_size: loading…themes_path: /home/blogger/web/blogger.com.ua/public_html/wp-content/themesthemes_size: loading…plugins_path: /home/blogger/web/blogger.com.ua/public_html/wp-content/pluginsplugins_size: loading…fonts_path: /home/blogger/web/blogger.com.ua/public_html/wp-content/uploads/fontsfonts_size: loading…database_size: loading…total_size: loading… wp-active-themename: Newspaper Child theme (Newspaper-child)version: 9.0cauthor: tagDivauthor_website: http://themeforest.net/user/tagDiv/portfolioparent_theme: Newspaper (Newspaper)theme_features: core-block-patterns, post-formats, post-thumbnails, automatic-feed-links, html5, woocommerce, bbpress, align-wide, align-full, editor-font-sizes, widgets-block-editor, editor-style, menus, widgetstheme_path: /home/blogger/web/blogger.com.ua/public_html/wp-content/themes/Newspaper-childauto_update: Выключено wp-parent-themename: Newspaper (Newspaper)version: 12.6 (latest version: 12.6.7)author: tagDivauthor_website: http://themeforest.net/user/tagDiv/portfoliotheme_path: /home/blogger/web/blogger.com.ua/public_html/wp-content/themes/Newspaperauto_update: Выключено wp-plugins-active (19)AI Engine: version: 2.6.2, author: Jordy Meow, Автоматические обновления отключеныAkismet Anti-spam: Spam Protection: version: 5.3.3, author: Automattic - Anti-spam Team, Автоматические обновления включеныClassic Editor: version: 1.6.4, author: WordPress Contributors, Автоматические обновления включеныContact Form 7: version: 5.9.8, author: Takayuki Miyoshi, Автоматические обновления включеныElfsight YouTube Gallery CC: version: 3.4.1, author: Elfsight, Автоматические обновления отключеныEntry Views: version: 1.0.0, author: Justin Tadlock, Автоматические обновления включеныFree Assets Library: version: 2.2.1, author: Surror, Автоматические обновления включеныJetpack: version: 13.8.1, author: Automattic, Автоматические обновления включеныjuxtapose: version: 1.0.0, author: Jordi Giménez, Автоматические обновления включеныNewsmag Theme Fixer: version: 0.1, author: IOIX, Samokish Pavel (samokspv), Автоматические обновления отключеныQNAP NAS Backup: version: 1.0.5, author: QNAP, Автоматические обновления включеныShortlinks for Jetpack sharing buttons: version: 1.0, author: Jeremy Herve, Автоматические обновления отключеныStaatic - Static Site Generator: version: 1.10.5, author: Team Staatic, Автоматические обновления отключеныtagDiv Cloud Library: version: 2.9 | built on 15.09.2023 12:29, author: tagDiv, Автоматические обновления отключеныtagDiv Composer: version: 4.3 | built on 15.09.2023 12:29, author: tagDiv, Автоматические обновления отключеныtagDiv Social Counter: version: 5.4 | built on 15.09.2023 12:29, author: tagDiv, Автоматические обновления отключеныtagDiv Standard Pack: version: 2.0 | built on 15.09.2023 12:29, author: tagDiv, Автоматические обновления отключеныWebpushr Push Notifications: version: 4.36.0, author: Webpushr Web Push Notifications, Автоматические обновления включеныWP VR: version: 8.5.5, author: Rextheme, Автоматические обновления включены wp-plugins-inactive (8)AMP: version: 2.5.4, author: AMP Project Contributors, Автоматические обновления включеныJetpack Boost: version: 3.5.0, author: Automattic - Jetpack Site Speed team, Автоматические обновления включеныtagDiv Mobile Theme: version: 2.4 | built on 15.09.2023 12:29, author: tagDiv, Автоматические обновления отключеныtagDiv Newsletter: version: 1.9 | built on 15.09.2023 12:29, author: tagDiv, Автоматические обновления отключеныtagDiv Opt-In Builder: version: 1.4.4 | built on 25.07.2023 12:54, author: tagDiv, Автоматические обновления отключеныtagDiv Shop: version: 1.9 | built on 15.09.2023 12:29, author: tagDiv, Автоматические обновления отключеныUpdraftPlus - Backup/Restore: version: 2.22.12.25, author: UpdraftPlus.Com, DavidAnderson, Автоматические обновления включеныWP Telegram: version: 4.1.14, author: WP Socio, Автоматические обновления отключены wp-mediaimage_editor: WP_Image_Editor_Imagickimagick_module_version: 1687imagemagick_version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.orgimagick_version: 3.4.4file_uploads: 1post_max_size: 20Mupload_max_filesize: 20Mmax_effective_size: 20 МБmax_file_uploads: 20imagick_limits:imagick::RESOURCETYPE_AREA: 122 МБimagick::RESOURCETYPE_DISK: 1073741824imagick::RESOURCETYPE_FILE: 6144imagick::RESOURCETYPE_MAP: 512 МБimagick::RESOURCETYPE_MEMORY: 256 МБimagick::RESOURCETYPE_THREAD: 1imagick::RESOURCETYPE_TIME: 1.844674407371E+19imagemagick_file_formats: 3FR, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JBG, JBIG, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUVgd_version: 2.3.0gd_formats: GIF, JPEG, PNG, WebP, BMP, XPMghostscript_version: 9.26 wp-serverserver_architecture: Linux 4.15.0-54-generic x86_64httpd_software: Apache/2.4.39 (Ubuntu) OpenSSL/1.1.1d mod_fcgid/2.3.9php_version: 7.4.11 64bitphp_sapi: apache2handlermax_input_variables: 10000time_limit: 600memory_limit: 512Mmax_input_time: 60upload_max_filesize: 20Mphp_post_max_size: 20Mcurl_version: 7.58.0 OpenSSL/1.1.1dsuhosin: falseimagick_availability: truepretty_permalinks: truehtaccess_extra_rules: truecurrent: 2024-09-26T12:11:55+00:00utc-time: Thursday, 26-Sep-24 12:11:55 UTCserver-time: 2024-09-26T14:11:53+02:00 wp-databaseextension: mysqliserver_version: 5.7.42-0ubuntu0.18.04.1client_version: mysqlnd 7.4.11max_allowed_packet: 67108864max_connections: 200 wp-constantsWP_HOME: undefinedWP_SITEURL: undefinedWP_CONTENT_DIR: /home/blogger/web/blogger.com.ua/public_html/wp-contentWP_PLUGIN_DIR: /home/blogger/web/blogger.com.ua/public_html/wp-content/pluginsWP_MEMORY_LIMIT: 128MWP_MAX_MEMORY_LIMIT: 512MWP_DEBUG: falseWP_DEBUG_DISPLAY: trueWP_DEBUG_LOG: falseSCRIPT_DEBUG: falseWP_CACHE: falseCONCATENATE_SCRIPTS: undefinedCOMPRESS_SCRIPTS: undefinedCOMPRESS_CSS: undefinedWP_ENVIRONMENT_TYPE: Не определеноWP_DEVELOPMENT_MODE: undefinedDB_CHARSET: utf8DB_COLLATE: utf8_general_ci wp-filesystemwordpress: writablewp-content: writableuploads: writableplugins: writablethemes: writablefonts: not writable jetpacksite_id: 5210388ssl_cert: Notime_diff: undefinedversion_option: 13.8.1:1726007778old_version: 13.8:1725489363public: Publicmaster_user: #1 adminis_offline_mode: offis_offline_mode_constant: offcurrent_user: #1 admintokens_set: Blog Userblog_token: EV3mKUgwhiD1f&p!zmp3Y3kum(Iy5ZVMuser_token: ^STijcnv5eih4ZjwIWMF9ZlKeK0UvWAMversion: 13.8.1jp_plugin_dir: /home/blogger/web/blogger.com.ua/public_html/wp-content/plugins/jetpack/plan: freeprotect_header: {"trusted_header":"HTTP_X_REAL_IP","segments":0,"reverse":false}full_sync: {"started":"Thu, 01 Jan 1970 00:00:00 +0000","finished":"Thu, 01 Jan 1970 00:00:00 +0000","progress":[],"config":[]}sync_size: undefinedsync_lag: 0 secondsfull_sync_size: undefinedfull_sync_lag: 0 secondsidc_urls: {"home":"https:\/\/blogger.com.ua","siteurl":"https:\/\/blogger.com.ua","WP_HOME":"","WP_SITEURL":""}idc_error_option: falseidc_optin: truecxn_tests: All Pass. staaticversion: 1.10.5site_url: https://blogger.com.ua/wordpress_url: https://blogger.com.uadestination_url: /deployment_method: Netlifyprocess_not_found: Disabledlowercase_urls: Disabledhttp_auth_username: Undefinedhttp_concurrency: 4http_https_to_http: Undefinedhttp_timeout: 10ssl_verify_behavior: enabledssl_verify_path: Undefinedhtml_dom_parser: PHP DOM Wrapperpublication_task_timeout: 10000test_request_status: 1727332274_1727334076_done
       ```
   
 *  Plugin Author [Team Staatic](https://wordpress.org/support/users/staatic/)
 * (@staatic)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/getting-timeout-error-while-publishing/#post-18039331)
 * Thanks for providing the additional information. It appears that the high number
   of resources is causing a timeout during the Netlify deployment initialization
   step. By default, an additional path is configured under Staatic > Settings >
   Build to include everything in your `wp-content/uploads` directory, which might
   be including too many files.
 * You can try disabling this additional path temporarily so that the Staatic crawler
   only includes the directly referenced assets and see if this helps. If this doesn’t
   resolve the issue, we recommend using the WP-CLI publish command for large deployments,
   as it bypasses the resource limits that the web publisher encounters.
 * For more details on the WP-CLI publish command, please refer to the documentation
   [here](https://staatic.com/documentation/administrator-guide/wp-cli/publish-command/).
 * Please let us know if this helps.
 *  Plugin Author [Team Staatic](https://wordpress.org/support/users/staatic/)
 * (@staatic)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/getting-timeout-error-while-publishing/#post-18085081)
 * Since we haven’t heard back from you, we’ll consider this issue resolved for 
   now. If you’re still experiencing any problems, please feel free to reopen the
   topic or start a new thread. Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Getting timeout error while publishing’ is closed to new replies.

 * ![](https://ps.w.org/staatic/assets/icon.svg?rev=2550278)
 * [Staatic - Static Site Generator](https://wordpress.org/plugins/staatic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/staatic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/staatic/)
 * [Active Topics](https://wordpress.org/support/plugin/staatic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/staatic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/staatic/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Team Staatic](https://wordpress.org/support/users/staatic/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/getting-timeout-error-while-publishing/#post-18085081)
 * Status: resolved