• Resolved miszka84

    (@miszka84)


    Hello,

    we’ve just launch our page and we have a problems with mails. No mail is sent when order is placed.

    I’ve install plugin Check & Log Email – I cant sent test email from that plugin and it goes ok. I see also this email in the mail logs

    I’ve also WP Mail SMTP plugin fully configured. Test mail also is sent.

    I don’t see any exceptions in logs. When In the checkout in the last step I’m redirected to the payment gateway but no mail is sent.

    I’ve also fully configured Woocommerce->Settings->Email -> new order template.

    What can be wrong ? How can I trace error ? What file is responsible for mail delivery?

    Also the finalizing order when user should be redirected to payment gateway tooks forever. Why this is so slow ? We have about 2mln of products in our shop and a lot of data in database

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter miszka84

    (@miszka84)

    I’ve one of the plugin WP Fulltext Search – slow down the whole process, but it goes super fast but I still does not have mail

    Hi @miszka84!

    Thank you for reaching out.

    We would like to know more about your site set up to further check into this. Kindly provide us the following:

    • Your System Status: You can find it via WooCommerce > Status. Select ‘Get system report’ and then ‘Copy for support’. Once you do this, you can paste here your response.
    • Fatal Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).
    • Thanks!

    Thread Starter miszka84

    (@miszka84)

    Here is the system report:

    
    ### wp-core ###
    
    version: 6.0.1
    site_language: pl_PL
    user_language: pl_PL
    timezone: Europe/Warsaw
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 1
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 2
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /var/www/marketorio.pl
    wordpress_size: loading...
    uploads_path: /var/www/marketorio.pl/wp-content/uploads
    uploads_size: loading...
    themes_path: /var/www/marketorio.pl/wp-content/themes
    themes_size: loading...
    plugins_path: /var/www/marketorio.pl/wp-content/plugins
    plugins_size: loading...
    database_size: loading...
    total_size: loading...
    
    ### wp-active-theme ###
    
    name: storefront Marketorio (storefront-child)
    version: 1.0.0
    author: Agnieszka Trefler
    author_website: https://webscene.pl
    parent_theme: Storefront (storefront)
    theme_features: core-block-patterns, widgets, widgets-block-editor, post-thumbnails, menus, automatic-feed-links, custom-logo, html5, custom-background, custom-header, site-logo, title-tag, customize-selective-refresh-widgets, wp-block-styles, align-wide, editor-styles, editor-font-sizes, editor-style, responsive-embeds, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, starter-content
    theme_path: /var/www/marketorio.pl/wp-content/themes/storefront-child
    auto_update: Wyłączono
    
    ### wp-parent-theme ###
    
    name: Storefront (storefront)
    version: 4.1.0 (latest version: 4.1.1)
    author: Automattic
    author_website: https://woocommerce.com/
    theme_path: /var/www/marketorio.pl/wp-content/themes/storefront
    auto_update: Wyłączono
    
    ### wp-themes-inactive (15) ###
    
    eStore: version: 1.6.0, author: ThemeGrill (latest version: 1.6.1), Automatyczna aktualizacja jest wyłączona
    Flatsome Child: version: 3.0, author: UX Themes, Automatyczna aktualizacja jest wyłączona
    Flatsome: version: 3.9.0, author: UX-Themes, Automatyczna aktualizacja jest wyłączona
    Leto: version: 1.0.14, author: athemes, Automatyczna aktualizacja jest wyłączona
    Marketo: version: 4.2, author: XpeedStudio, Automatyczna aktualizacja jest wyłączona
    Ocin Lite: version: 1.0.21, author: Quema Labs, Automatyczna aktualizacja jest wyłączona
    Porto Child: version: 1.1, author: P-THEMES, Automatyczna aktualizacja jest wyłączona
    Porto: version: 5.4.6, author: P-THEMES, Automatyczna aktualizacja jest wyłączona
    Storefront: version: 3.2.0, author: Automattic, Automatyczna aktualizacja jest wyłączona
    Twenty Nineteen: version: 2.1, author: zespół WordPressa (latest version: 2.3), Automatyczna aktualizacja jest wyłączona
    Twenty Seventeen: version: 2.8, author: zespół WordPressa (latest version: 3.0), Automatyczna aktualizacja jest wyłączona
    Twenty Twenty: version: 1.8, author: zespół WordPressa (latest version: 2.0), Automatyczna aktualizacja jest wyłączona
    Twenty Twenty-One: version: 1.4, author: zespół WordPressa (latest version: 1.6), Automatyczna aktualizacja jest wyłączona
    Twenty Twenty-Two: version: 1.0, author: zespół WordPressa (latest version: 1.2), Automatyczna aktualizacja jest wyłączona
    XClean: version: 1.2, author: 8theme, Automatyczna aktualizacja jest wyłączona
    
    ### wp-mu-plugins (2) ###
    
    Elementor Safe Mode: version: 1.0.0, author: Elementor.com
    metabox.php: author: (undefined), version: (undefined)
    
    ### wp-plugins-active (10) ###
    
    a3 Lazy Load: version: 2.5.1, author: a3rev Software, Automatyczna aktualizacja jest wyłączona
    Check & Log Email: version: 1.0.6, author: WPChill, Automatyczna aktualizacja jest wyłączona
    Contact Form 7: version: 5.6, author: Takayuki Miyoshi (latest version: 5.6.1), Automatyczna aktualizacja jest wyłączona
    PayU Payment Gateway: version: 2.0.13, author: PayU SA, Automatyczna aktualizacja jest wyłączona
    Product GTIN (EAN, UPC, ISBN) for WooCommerce: version: 1.1.1, author: Emanuela Castorina, Automatyczna aktualizacja jest wyłączona
    TI WooCommerce Wishlist: version: 1.47.0, author: TemplateInvaders, Automatyczna aktualizacja jest wyłączona
    WooCommerce: version: 6.6.1, author: Automattic (latest version: 6.7.0), Automatyczna aktualizacja jest wyłączona
    WP All Import - WooCommerce Import Add-On Pro: version: 3.3.0, author: Soflyy (latest version: 3.3.3), Automatyczna aktualizacja jest wyłączona
    WP All Import Pro: version: 4.7.1, author: Soflyy (latest version: 4.7.5), Automatyczna aktualizacja jest wyłączona
    WP Mail SMTP: version: 3.5.1, author: WPForms, Automatyczna aktualizacja jest wyłączona
    
    ### wp-plugins-inactive (31) ###
    
    Cache Enabler: version: 1.8.9, author: KeyCDN, Automatyczna aktualizacja jest wyłączona
    Classic Editor: version: 1.6.2, author: WordPress Contributors, Automatyczna aktualizacja jest wyłączona
    Disable Cart Fragments: version: 2.1.1, author: Optimocha, Automatyczna aktualizacja jest wyłączona
    Disable Generate Thumbnails: version: 2.10, author: Katsushi Kawamori, Automatyczna aktualizacja jest wyłączona
    Elementor: version: 3.6.7, author: Elementor.com, Automatyczna aktualizacja jest wyłączona
    Fast Velocity Minify: version: 3.2.8, author: Raul Peixoto, Automatyczna aktualizacja jest wyłączona
    Gmail SMTP: version: 1.2.3.2, author: naa986, Automatyczna aktualizacja jest wyłączona
    Jetpack: version: 11.1.1, author: Automattic (latest version: 11.1.2), Automatyczna aktualizacja jest wyłączona
    Kirki Customizer Framework: version: 4.0.24, author: David Vongries, Automatyczna aktualizacja jest wyłączona
    Lazy Load - Optimize Images: version: 2.3.6, author: WP Rocket, Automatyczna aktualizacja jest wyłączona
    Mailchimp for WooCommerce: version: 2.7, author: Mailchimp (latest version: 2.7.1), Automatyczna aktualizacja jest wyłączona
    MainWP Dashboard: version: 4.2.5, author: MainWP (latest version: 4.2.6), Automatyczna aktualizacja jest wyłączona
    Marketorio: version: 1.0.0, author: Your Name or Your Company, Automatyczna aktualizacja jest wyłączona
    Marketorio admin: version: 1.0, author: Michał Pietrasz, Automatyczna aktualizacja jest wyłączona
    Media Cleaner: version: 6.4.0, author: Jordy Meow, Automatyczna aktualizacja jest wyłączona
    Nextend Social Login: version: 3.1.5, author: Nextendweb, Automatyczna aktualizacja jest wyłączona
    Optimize Database after Deleting Revisions: version: 5.0.110, author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands, Automatyczna aktualizacja jest wyłączona
    Perfect Brands for WooCommerce: version: 2.1.4, author: QuadLayers, Automatyczna aktualizacja jest wyłączona
    Porto Theme - Functionality: version: 1.7.7, author: P-Themes, Automatyczna aktualizacja jest wyłączona
    Query Monitor: version: 3.9.0, author: John Blackbourn, Automatyczna aktualizacja jest wyłączona
    Redis Object Cache: version: 2.0.26, author: Till Krüss, Automatyczna aktualizacja jest wyłączona
    Stop Generating Unnecessary Thumbnails: version: 3.5, author: Codexpert, Automatyczna aktualizacja jest wyłączona
    ThemeGrill Demo Importer: version: 1.8.2, author: ThemeGrill (latest version: 1.8.3), Automatyczna aktualizacja jest wyłączona
    W3 Total Cache: version: 2.2.3, author: BoldGrid, Automatyczna aktualizacja jest wyłączona
    WooCommerce Admin: version: 3.3.2, author: WooCommerce, Automatyczna aktualizacja jest wyłączona
    WooCommerce Przelewy24 Payment Gateway: version: 1.0.1, author: Przelewy24 Sp. z o.o., Automatyczna aktualizacja jest wyłączona
    WooSidebars: version: 1.4.6, author: WooCommerce, Automatyczna aktualizacja jest wyłączona
    WordPress Importer: version: 0.7, author: wordpressdotorg, Automatyczna aktualizacja jest wyłączona
    Wp Export Categories & Taxonomies: version: 1.0.3, author: timersys, Automatyczna aktualizacja jest wyłączona
    WP Fulltext Search: version: 1.50.175, author: Epsiloncool (latest version: 1.51.178), Automatyczna aktualizacja jest wyłączona
    WP Redis: version: 1.2.0, author: Pantheon, Josh Koenig, Matthew Boynes, Daniel Bachhuber, Alley Interactive, Automatyczna aktualizacja jest wyłączona
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1692
    imagemagick_version: ImageMagick 6.9.12-48 Q16 x86_64 17235 https://legacy.imagemagick.org
    imagick_version: 3.7.0
    file_uploads: File uploads is turned off
    post_max_size: 512M
    upload_max_filesize: 512M
    max_effective_size: 512 MB
    max_file_uploads: 20
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 252 GB
    	imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    	imagick::RESOURCETYPE_FILE: 768
    	imagick::RESOURCETYPE_MAP: 252 GB
    	imagick::RESOURCETYPE_MEMORY: 126 GB
    	imagick::RESOURCETYPE_THREAD: 1
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, 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, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, 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, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, 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, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: not available
    
    ### wp-server ###
    
    server_architecture: Linux 5.15.11-1.el7.elrepo.x86_64 x86_64
    httpd_software: Apache
    php_version: 7.4.29 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 10000
    time_limit: 300
    memory_limit: 5120M
    max_input_time: 300
    upload_max_filesize: 512M
    php_post_max_size: 512M
    curl_version: 7.29.0 NSS/3.53.1
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.6.8-MariaDB-log
    client_version: mysqlnd 7.4.29
    max_allowed_packet: 536870912
    max_connections: 600
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /var/www/marketorio.pl/wp-content
    WP_PLUGIN_DIR: /var/www/marketorio.pl/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 5120M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Niezdefiniowane
    DB_CHARSET: utf8
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    ### wp_mail_smtp ###
    
    version: 3.5.1
    license_key_type: lite
    debug: No debug notices found.
    lite_install_date: lip 19, 2022 @ 4:17pm
    
    

    And part of logs:

    2022-07-07T07:18:40+00:00 CRITICAL Allowed memory size of 1073741824 bytes exhausted (tried to allocate 83886080 bytes) w /var/www/marketorio.pl/wp-content/plugins/w3-total-cache/Cache_File.php w linii 119
    
    2022-07-07T11:23:10+00:00 CRITICAL Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) w /var/www/marketorio.pl/wp-content/plugins/fulltext-search/includes/wpfts_index.php w linii 1327
    
    2022-07-07T11:24:02+00:00 CRITICAL Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20971520 bytes) w /var/www/marketorio.pl/wp-content/plugins/fulltext-search/includes/wpfts_index.php w linii 1410
    
    2022-07-07T11:24:10+00:00 CRITICAL Allowed memory size of 1073741824 bytes exhausted (tried to allocate 167772160 bytes) w /var/www/marketorio.pl/wp-content/plugins/w3-total-cache/Cache_File.php w linii 119
    
    2022-07-07T11:24:18+00:00 CRITICAL Allowed memory size of 1073741824 bytes exhausted (tried to allocate 67108872 bytes) w /var/www/marketorio.pl/wp-includes/wp-db.php w linii 2129
    
    2022-07-07T17:15:11+00:00 CRITICAL Allowed memory size of 1073741824 bytes exhausted (tried to allocate 2621440 bytes) w /var/www/marketorio.pl/wp-content/plugins/fulltext-search/includes/wpfts_index.php w linii 1330
    
    2022-07-07T23:47:16+00:00 CRITICAL Allowed memory size of 1073741824 bytes exhausted (tried to allocate 10485760 bytes) w /var/www/marketorio.pl/wp-content/plugins/w3-total-cache/Cache_File.php w linii 119
    
    2022-07-07T23:50:42+00:00 CRITICAL Allowed memory size of 1073741824 bytes exhausted (tried to allocate 67108872 bytes) w /var/www/marketorio.pl/wp-includes/wp-db.php w linii 2129
    
    2022-07-07T23:53:19+00:00 CRITICAL Allowed memory size of 1073741824 bytes exhausted (tried to allocate 41943040 bytes) w /var/www/marketorio.pl/wp-content/plugins/fulltext-search/includes/wpfts_index.php w linii 1331
    Plugin Support abwaita a11n

    (@abwaita)

    Thanks @miszka84 for getting back.

    (a) Emails not being sent

    Normally, when emails are not sent, there are usually three likely culprits and it takes some troubleshooting to find out the cause. The main culprits are:

    1. A conflict that’s preventing WooCommerce emails from generating
    2. A deliverability issue due to the mailing server
    3. A settings issue whereby the emails have been disabled from WooCommerce → Settings → Emails

    Here’s a guide to help you troubleshoot all these possibilities – https://woocommerce.com/document/email-faq/

    Please let us know how it goes when you go test using the steps in the guide.

    (b) Critical error

    In addition, your error logs show that you’re running out of memory:

    2022-07-07T07:18:40+00:00 CRITICAL Allowed memory size of 1073741824 bytes exhausted (tried to allocate 83886080 bytes) w /var/www/marketorio.pl/wp-content/plugins/w3-total-cache/Cache_File.php w linii 119

    Though these logs are from a while back, I recommend increasing the WP_MEMORY_LIMIT from 40M to at least 256M to meet the WooCommerce Server requirements. You can request your host to assist with this, but here’s a guide on how to do it by yourself (if only you’re comfortable)- https://woocommerce.com/document/increasing-the-wordpress-memory-limit/.

    Let us know how it goes.

    Thanks.

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

The topic ‘Missing mail when order is completed’ is closed to new replies.