• Resolved sophiekroezen

    (@sophiekroezen)


    Since updating to PHP 8.2.1, all the WooCommerce order confirmation emails (to both the shop owner and the customer) are suddenly sent as raw HTML (text). In the settings for WooCommerce, I selected HTML/text as email type.

    See below the errors I received regarding to WooCommerce emails and the technical site information. All the themes and plugins are up-to-date.

    Any help is greatly appreciated.

    [16-Feb-2023 12:08:15 UTC] PHP Deprecated:  Creation of dynamic property WC_Email_Customer_On_Hold_Order::$email_type is deprecated in /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 254
    [16-Feb-2023 12:08:15 UTC] PHP Deprecated:  Creation of dynamic property WC_Email_Customer_Processing_Order::$email_type is deprecated in /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 254
    [16-Feb-2023 12:08:15 UTC] PHP Deprecated:  Creation of dynamic property WC_Email_Customer_Completed_Order::$email_type is deprecated in /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 254
    [16-Feb-2023 12:08:15 UTC] PHP Deprecated:  Creation of dynamic property WC_Email_Customer_Refunded_Order::$email_type is deprecated in /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 254
    [16-Feb-2023 12:08:15 UTC] PHP Deprecated:  Creation of dynamic property WC_Email_Customer_Invoice::$email_type is deprecated in /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 254
    [16-Feb-2023 12:08:15 UTC] PHP Deprecated:  Creation of dynamic property WC_Email_Customer_Note::$email_type is deprecated in /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 254
    [16-Feb-2023 12:08:15 UTC] PHP Deprecated:  Creation of dynamic property WC_Email_Customer_Reset_Password::$email_type is deprecated in /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 254
    [16-Feb-2023 12:08:15 UTC] PHP Deprecated:  Creation of dynamic property WC_Email_Customer_New_Account::$email_type is deprecated in /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 254
    `
    ### wp-core ###
    
    version: 6.1.1
    site_language: nl_NL
    user_language: nl_NL
    timezone: Europe/Amsterdam
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 87
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /var/www/vhosts/dekroonluchter.com/httpdocs
    wordpress_size: 982,56 MB (1030290957 bytes)
    uploads_path: /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/uploads
    uploads_size: 740,30 MB (776257925 bytes)
    themes_path: /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/themes
    themes_size: 23,80 MB (24961176 bytes)
    plugins_path: /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/plugins
    plugins_size: 222,24 MB (233038041 bytes)
    database_size: 215,13 MB (225574912 bytes)
    total_size: 2,13 GB (2290123011 bytes)
    
    ### wp-dropins (2) ###
    
    advanced-cache.php: true
    maintenance.php: true
    
    ### wp-active-theme ###
    
    name: Astra (astra)
    version: 4.0.2
    author: Brainstorm Force
    author_website: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    parent_theme: none
    theme_features: core-block-patterns, astra_hooks, widgets-block-editor, align-wide, automatic-feed-links, title-tag, post-thumbnails, starter-content, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, rank-math-breadcrumbs, amp, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets, menus
    theme_path: /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/themes/astra
    auto_update: Ingeschakeld
    
    ### wp-mu-plugins (1) ###
    
    Elementor Safe Mode: version: 1.0.0, author: Elementor.com
    
    ### wp-plugins-active (33) ###
    
    Admin Taxonomy Filter: version: 1.0.2, author: eLightUp, Auto-updates ingeschakeld
    Astra Widgets: version: 1.2.12, author: Brainstorm Force, Auto-updates ingeschakeld
    Bulk edit publish date: version: 1.0, author: Felix Eve, Auto-updates ingeschakeld
    Check & Log Email: version: 1.0.6, author: WPChill, Auto-updates ingeschakeld
    Checkout Field Editor for WooCommerce: version: 1.8.1, author: ThemeHigh, Auto-updates ingeschakeld
    Code Snippets: version: 3.2.2, author: Code Snippets Pro, Auto-updates ingeschakeld
    Conditional Discounts for WooCommerce by ORION: version: 2.28.2, author: ORION, Auto-updates ingeschakeld
    Custom Fonts: version: 1.3.7, author: Brainstorm Force, Auto-updates ingeschakeld
    Elementor: version: 3.11.1, author: Elementor.com, Auto-updates ingeschakeld
    Elementor Header & Footer Builder: version: 1.6.13, author: Brainstorm Force, Nikhil Chavan, Auto-updates ingeschakeld
    Facebook for WooCommerce: version: 3.0.11, author: Facebook, Auto-updates ingeschakeld
    FiboSearch - AJAX Search for WooCommerce (Pro): version: 1.22.1, author: FiboSearch Team, Auto-updates ingeschakeld
    GA Google Analytics: version: 20221016, author: Jeff Starr, Auto-updates ingeschakeld
    MailerLite - Signup forms (official): version: 1.6.4, author: MailerLite, Auto-updates ingeschakeld
    Menu Icons: version: 0.13.2, author: ThemeIsle, Auto-updates ingeschakeld
    Mollie Payments for WooCommerce: version: 7.3.5, author: Mollie, Auto-updates ingeschakeld
    MyParcel: version: 4.16.4, author: MyParcel, Auto-updates ingeschakeld
    Ni WooCommerce Custom Order Status: version: 2.0.7, author: anzia, Auto-updates ingeschakeld
    PDF Invoices & Packing Slips for WooCommerce: version: 3.3.2, author: WP Overnight, Auto-updates ingeschakeld
    Perfect Brands for WooCommerce: version: 3.0.2, author: QuadLayers, Auto-updates ingeschakeld
    Product Customer List for WooCommerce: version: 3.1.2, author: Kokomo, Auto-updates ingeschakeld
    Product Slider and Carousel with Category for WooCommerce: version: 2.8, author: WP OnlineSupport, Essential Plugin, Auto-updates ingeschakeld
    Redirection: version: 5.3.9, author: John Godley, Auto-updates ingeschakeld
    Related Products for WooCommerce: version: 1.4.7, author: WebToffee, Auto-updates ingeschakeld
    SMNTCS Quantity Increment Buttons for WooCommerce: version: 2.2, author: Niels Lange, Auto-updates ingeschakeld
    Starter Templates: version: 3.1.24, author: Brainstorm Force, Auto-updates ingeschakeld
    Woo Align Buttons: version: 3.6.8, author: 320up, Auto-updates ingeschakeld
    WooCommerce: version: 7.4.0, author: Automattic, Auto-updates ingeschakeld
    WPForms Lite: version: 1.7.9.1, author: WPForms, Auto-updates ingeschakeld
    YITH WooCommerce Product Bundles: version: 1.19.0, author: YITH, Auto-updates ingeschakeld
    YITH WooCommerce Wishlist: version: 3.18.0, author: YITH, Auto-updates ingeschakeld
    Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates ingeschakeld
    Yoast SEO: version: 20.1, author: Team Yoast, Auto-updates ingeschakeld
    
    ### wp-plugins-inactive (8) ###
    
    Free Downloads WooCommerce: version: 3.5.1, author: Square One Media, Auto-updates ingeschakeld
    Health Check & Troubleshooting: version: 1.5.1, author: The www.remarpro.com community, Auto-updates ingeschakeld
    Kadence WooCommerce Email Designer: version: 1.5.7, author: Kadence WP, Auto-updates ingeschakeld
    PayPal Zettle POS: version: 1.5.4, author: PayPal, Auto-updates ingeschakeld
    Site Kit by Google: version: 1.94.0, author: Google, Auto-updates ingeschakeld
    Smash Balloon Instagram Feed: version: 6.1.1, author: Smash Balloon, Auto-updates ingeschakeld
    Stock Exporter for WooCommerce: version: 1.1.0, author: PT Woo Plugins (by Webdados), Auto-updates ingeschakeld
    WP Debugging: version: 2.11.20, author: Andy Fragen, Auto-updates ingeschakeld
    
    ### code-snippets (10) ###
    
    snippet-7: name: Verwijder Gerelateerde producten, scope: front-end, modified: 2021-09-14 17:22:02
    snippet-8: name: Change Upsells text, scope: front-end, modified: 2021-09-14 17:29:58
    snippet-9: name: Upsells Aantal, scope: front-end, modified: 2021-09-14 17:47:59
    snippet-10: name: Sale Tekst, scope: global, modified: 2023-01-18 08:02:57
    snippet-11: name: Add to Cart tekst, scope: global, modified: 2021-12-21 17:43:01
    snippet-12: name: Fibo Search - SKU, scope: global, modified: 2021-12-31 11:05:13
    snippet-13: name: Account aanmaken tijdens afrekenen, scope: global, modified: 2022-02-13 19:24:47
    snippet-15: name: Tablet and Mobile Custom Breakpoint, scope: global, modified: 2022-08-11 07:39:43
    snippet-18: name: Tekst Niet op voorraad / Uitverkocht > Niet beschikbaar, scope: global, modified: 2022-08-29 20:03:57
    snippet-19: name: Old Astra Cart Icon, scope: global, modified: 2022-09-25 10:22:56
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2021-10-14 https://imagemagick.org
    imagick_version: 3.7.0
    file_uploads: File uploads is turned off
    post_max_size: 32M
    upload_max_filesize: 32M
    max_effective_size: 32 MB
    max_file_uploads: 20
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 15 GB
    	imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    	imagick::RESOURCETYPE_FILE: 6144
    	imagick::RESOURCETYPE_MAP: 15 GB
    	imagick::RESOURCETYPE_MEMORY: 8 GB
    	imagick::RESOURCETYPE_THREAD: 1
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, 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, 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, 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, PGX, 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, YUV
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: not available
    
    ### wp-server ###
    
    server_architecture: Linux 3.10.0-1160.81.1.el7.x86_64 x86_64
    httpd_software: Apache
    php_version: 8.2.1 64bit
    php_sapi: cgi-fcgi
    max_input_variables: 1000
    time_limit: 300
    memory_limit: 256M
    max_input_time: 300
    upload_max_filesize: 32M
    php_post_max_size: 32M
    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.5.19-MariaDB
    client_version: mysqlnd 8.2.1
    max_allowed_packet: 16777216
    max_connections: 250
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content
    WP_PLUGIN_DIR: /var/www/vhosts/dekroonluchter.com/httpdocs/wp-content/plugins
    WP_MEMORY_LIMIT: 256M
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: false
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Ongedefinieerd
    DB_CHARSET: utf8
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    ### wpforms ###
    
    version: 1.7.9.1
    lite: aug 15, 2022 @ 8:46pm
    upload_dir: Beschrijfbaar
    total_forms: 1
    total_submissions: 316
    
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    It looks like some plugin or a theme configuration is affecting the normal behavior or preventing to send out default WordPress email. This is odd.

    Please check again doing the following: First switch the site’s theme temporarily to Storefront, and disable all plugins except WooCommerce. Is the issue still present? If not, it means you can switch the theme back to the original one, and reactivate the plugins gradually one by one until the cause of the issue is found.

    For this type of task you can use the Meks Quick Plugin Disabler this plugin will remember what plugins you currently have active, so it’s easy to switch them back on. If you would like to create a staging environment (to do not touch the live site), we recommend WP Staging for quickly spinning up a new test site.

    Thread Starter sophiekroezen

    (@sophiekroezen)

    Dear @ihereira,

    Thank you for your reply. Today, I created a staging website using WP Staging and disabled all plugins using Meks Quick Plugin Disabler. I actived all plugins one-by-one and created/placed an order after activating each plugin. All emails were received correctly, so I was not able to find a plugin conflict.

    Unfortunately, the emails from the ‘real’ website are still not received correctly so I contacted my hosting provider for additional help. Any help on this forum is still greatly appreciated!

    Thread Starter sophiekroezen

    (@sophiekroezen)

    All emails are received like this:

    Content-Type: text/html; charset=UTF-8



    <!DOCTYPE html>

    <html lang="nl" style="height: 100%; position: relative;" height="100%">

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>de Kroonluchter a€“ Stamps &amp; Stationery</title>

    </head>

    <body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" class="kt-woo-wrap order-items-normal k-responsive-normal title-style-none email-id-new_order" style="height: 100%; position: relative; background-color: #f7f7f7; margin: 0; padding: 0;" height="100%" bgcolor="#f7f7f7">

    ??????????????? <div id="wrapper" dir="ltr" style="background-color: #f7f7f7; margin: 0; padding: 70px 0 70px 0; width: 100%; padding-bottom: px; -webkit-text-size-adjust: none; padding-top: 10px;" bgcolor="#f7f7f7" width="100%">

    ??????????????????????? <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%"><tr>

    <td align="center" valign="top">

    ??????????????????????????????????????????????????????????????????????????????????????????????????????? <table id="template_header_image_container" style="width: 100%; background-color: transparent;" width="100%" bgcolor="transparent"><tr id="template_header_image">

    <td align="center" valign="middle">

    ??????????????????????????????????????????????????????????????????????????????? <table border="0" cellpadding="0" cellspacing="0" width="100%" id="template_header_image_table"><tr>

    <td align="center" valign="middle" style="text-align: center; padding-top: 20px; padding-bottom: 20px;">

    Hi,

    Sorry to hear that this issue is persisting.

    MailerLite - Signup forms (official): version: 1.6.4

    Can you check if temporarily disabling this plugin, the emails are being sent correctly?

    If that does not help, please navigate to WooCommerce > System Status > Logs (if there are any other errors on there, let us know).

    Roxy

    (@roxannestoltz)

    Hi @sophiekroezen ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Order Confirmation Mail sent as raw HTML’ is closed to new replies.