• Resolved chrisl93

    (@chrisl93)


    Hi everyone,

    I’ve been trying to get my invoice to send, but I am receiving a critical error when I do try to send this out. It shows me a preview of the email with an error. `Error Details
    =============
    An error of type E_ERROR was caused in line 114 of the file /nas/content/live/bioalberta/wp-content/plugins/mco_woo/classes/Controller/Email.php. Error message: Uncaught TypeError: Cannot access offset of type string on string in /nas/content/live/bioalberta/wp-content/plugins/mco_woo/classes/Controller/Email.php:114
    Stack trace:
    #0 /nas/content/live/bioalberta/wp-includes/class-wp-hook.php(307): Moneris\Checkout\Controller\Email->add_moneris_meta_to_email(Object(Automattic\WooCommerce\Admin\Overrides\Order), false, false, Object(WC_Email_Customer_Invoice))
    #1 /nas/content/live/bioalberta/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #2 /nas/content/live/bioalberta/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #3 /nas/content/live/bioalberta/wp-content/plugins/woocommerce/templates/emails/customer-invoice.php(76): do_action(‘woocommerce_ema…’, Object(Automattic\WooCommerce\Admin\Overrides\Order), false, false, Object(WC_Email_Customer_Invoice))
    #4 /nas/content/live/bioalberta/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/nas/content/li…’)
    #5 /nas/content/live/bioalberta/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template(’emails/customer…’, Array, ”, ”)
    #6 /nas/content/live/bioalberta/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(159): wc_get_template_html(’emails/customer…’, Array)
    #7 /nas/content/live/bioalberta/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(574): WC_Email_Customer_Invoice->get_content_html()
    #8 /nas/content/live/bioalberta/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(139): WC_Email->get_content()
    #9 /nas/content/live/bioalberta/wp-content/plugins/woocommerce/includes/class-wc-emails.php(374): WC_Email_Customer_Invoice->trigger(3318, Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #10 /nas/content/live/bioalberta/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(112): WC_Emails->customer_invoice(Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #11 /nas/content/live/bioalberta/wp-includes/class-wp-hook.php(307): WC_Meta_Box_Order_Actions::save(3318, Object(WP_Post))
    #12 /nas/content/live/bioalberta/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #13 /nas/content/live/bioalberta/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #14 /nas/content/live/bioalberta/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(258): do_action(‘woocommerce_pro…’, 3318, Object(WP_Post))
    #15 /nas/content/live/bioalberta/wp-includes/class-wp-hook.php(309): WC_Admin_Meta_Boxes->save_meta_boxes(3318, Object(WP_Post))
    #16 /nas/content/live/bioalberta/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #17 /nas/content/live/bioalberta/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #18 /nas/content/live/bioalberta/wp-includes/post.php(4673): do_action(‘save_post’, 3318, Object(WP_Post), true)
    #19 /nas/content/live/bioalberta/wp-includes/post.php(4775): wp_insert_post(Array, false, true)
    #20 /nas/content/live/bioalberta/wp-admin/includes/post.php(426): wp_update_post(Array)
    #21 /nas/content/live/bioalberta/wp-admin/post.php(227): edit_post()
    #22 {main}
    thrown`

    Any ideas or help appreicated, thanks πŸ™‚

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @chrisl93

    Thanks for reaching out!

    As per the error logs, it is pointing to a third-party plugin: plugins/mco_woo/.

    I am assuming that this is related to your email plugin but I’d like to understand your site properly, can you please share your System Status Report, that will help us further troubleshoot.

    You can find it via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    Thread Starter chrisl93

    (@chrisl93)

    Hi @xue28, please see below.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://bioalberta.com
    Site address (URL): https://bioalberta.com
    WC Version: 6.9.4
    REST API Version: βœ” 6.9.4
    WC Blocks Version: βœ” 8.3.3
    Action Scheduler Version: βœ” 3.4.0
    Log Directory Writable: βœ”
    WP Version: 6.0.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: βœ”
    Language: en_US
    External object cache: βœ”
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 8.0.23
    PHP Post Max Size: 100 MB
    PHP Time Limit: 3600
    PHP Max Input Vars: 10000
    cURL Version: 7.74.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.39-42-log
    Max Upload Size: 50 MB
    Default Timezone is UTC: βœ”
    fsockopen/cURL: βœ”
    SoapClient: βœ”
    DOMDocument: βœ”
    GZip: βœ”
    Multibyte String: βœ”
    Remote Post: βœ”
    Remote Get: βœ”
    
    ### Database ###
    
    WC Database Version: 6.9.4
    WC Database Prefix: wp_
    Total Database Size: 62.24MB
    Database Data Size: 36.05MB
    Database Index Size: 26.19MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 2.39MB + Index: 0.86MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 1.48MB + Index: 0.47MB + Engine InnoDB
    wp_addonlibrary_addons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_addonlibrary_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
    wp_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
    wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_addon_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gf_entry: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_entry_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_gf_entry_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gf_form_meta: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_moneris_monerischeckout_transactions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 2.48MB + Index: 0.09MB + Engine InnoDB
    wp_postmeta: Data: 6.52MB + Index: 0.81MB + Engine InnoDB
    wp_posts: Data: 2.47MB + Index: 0.33MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.09MB + Index: 0.08MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_um_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_usermeta: Data: 1.45MB + Index: 0.44MB + Engine InnoDB
    wp_users: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    wp_user_registration_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wsal_metadata: Data: 9.52MB + Index: 18.09MB + Engine InnoDB
    wp_wsal_occurrences: Data: 6.52MB + Index: 2.02MB + Engine InnoDB
    wp_yoast_indexable: Data: 1.52MB + Index: 0.59MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.11MB + Index: 0.16MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 59
    acf-field-group: 14
    attachment: 1193
    award_winners: 24
    board_of_directors: 15
    commentary: 4
    custom_css: 1
    customize_changeset: 2
    elementor_library: 68
    event: 7
    featured_member: 5
    hall_of_fame: 4
    job_opportunities: 13
    member_marketplace: 1
    my_benefits: 3
    nav_menu_item: 78
    oembed_cache: 3
    page: 75
    partner: 30
    post: 15
    postman_sent_mail: 24
    product: 9
    product_variation: 23
    resource: 4
    revision: 9
    shop_coupon: 3
    shop_order: 11
    shop_subscription: 5
    success_story: 15
    team_members: 5
    um_directory: 1
    um_form: 3
    user_registration: 1
    wp_global_styles: 1
    yaymail_template: 11
    
    ### Security ###
    
    Secure connection (HTTPS): βœ”
    Hide errors from visitors: βœ”
    
    ### Active Plugins (29) ###
    
    Gravity Forms: by Gravity Forms – 2.6.7
    Advanced Access Manager: by Vasyl Martyniuk <[email protected]> – 6.8.5
    Advanced Custom Fields PRO: by Delicious Brains – 5.12.3
    Advanced Custom Fields: by Delicious Brains – 5.12.3
    Akismet Anti-Spam: by Automattic – 5.0.1
    Custom Post Type UI: by WebDevStudios – 1.13.1
    Dynamic.ooo - Dynamic Content for Elementor: by Dynamic.ooo – 2.7.10
    Elementor Pro: by Elementor.com – 3.7.6
    Elementor: by Elementor.com – 3.7.6
    ElementsKit Lite: by Wpmet – 2.7.0
    Folders: by Premio – 2.8.5
    Gravity Forms Constant Contact Add-On: by Gravity Forms – 1.6
    Happy Elementor Addons: by weDevs – 3.7.0
    Master Addons for Elementor: by Jewel Theme – 1.9.4
    Moneris Checkout WooCommerce Integration: by  – 1.1.6
    PublishPress Future: by PublishPress – 2.7.7
    Product Variation Swatches for Woocommerce: by ThemeHigh – 2.2.0
    Safe SVG: by 10up – 2.0.3
    Unlimited Elements for Elementor: by Unlimited Elements – 1.5.31
    Visibility Logic for Elementor: by StaxWP – 2.3.2
    White Label: by WhiteWP.com – 2.5.1
    Checkout Field Editor for WooCommerce: by ThemeHigh – 1.7.2
    MultiStep Checkout for WooCommerce: by ThemeHigh – 2.0.9
    WooCommerce Subscriptions: by WooCommerce – 4.5.1 (update to version 4.6.0 is available)
    WooCommerce: by Automattic – 6.9.4 (update to version 7.0.0 is available)
    Yoast SEO: by Team Yoast – 19.6.1
    WP Mail SMTP: by WPForms – 3.5.2
    Smart Coupons For WooCommerce Coupons: by WebToffee – 1.4.2
    YayMail - WooCommerce Email Customizer: by YayCommerce – 3.0.5
    
    ### Inactive Plugins (0) ###
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: Memcached Redux
    
    ### Must Use Plugins (5) ###
    
    Force Strong Passwords - WPE Edition: by Jason Cosper – 1.8.0
    WP Engine Cache Plugin: by WP Engine – 1.0.11
    WP Engine Seamless Login Plugin: by WP Engine – 1.6.0
    WP Engine Security Auditor: by wpengine – 1.0.10
    WP Engine System: by WP Engine – 5.0.1
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: CAD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: βœ”
    Enforce Approved Product Download Directories: –
    
    ### WC Pages ###
    
    Shop base: ❌ Page not set
    Cart: ❌ Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
    Checkout: ❌ Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block.
    My account: #12 - /my-account/
    Terms and conditions: #634 - /terms-of-use/
    
    ### Theme ###
    
    Name: Hello Elementor - Site made by Yassine Abid
    Version: 2.5.0 (update to version 2.6.1 is available)
    Author URL: https://ca.linkedin.com/in/abidyassine
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: βœ”
    
    ### Templates ###
    
    Overrides: –
    
    ### Subscriptions ###
    
    WCS_DEBUG: βœ” No
    Subscriptions Mode: βœ” Live
    Subscriptions Live URL: https://bioalberta.com
    Subscription Statuses: trash: 2
    auto-draft: 2
    wc-on-hold: 1
    
    WooCommerce Account Connected: βœ” Yes
    Active Product Key: ❌ No
    Custom Retry Rules: βœ” No
    Custom Retry Rule Class: βœ” No
    Custom Raw Retry Rule: βœ” No
    Custom Retry Rule: βœ” No
    Retries Migration Status: βœ” Completed
    Report Cache Enabled: βœ” Yes
    Cache Update Failures: βœ” 0 failure
    
    ### Store Setup ###
    
    Country / State: Canada β€” Alberta
    
    ### Subscriptions by Payment Gateway ###
    
    Check payments: trash: 2
    wc-on-hold: 1
    
    ### Payment Gateway Support ###
    
    Check payments: products
    Moneris Checkout Woocommerce Integration: products
    refunds
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: βœ” Next scheduled: 2022-10-18 22:09:06 -06:00
    Options: βœ”
    Notes: 48
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 2,451
    Oldest: 2022-09-19 10:41:51 -0600
    Newest: 2022-10-18 08:40:35 -0600
    
    Failed: 1
    Oldest: 2022-03-09 11:23:05 -0700
    Newest: 2022-03-09 11:23:05 -0700
    
    Pending: 7
    Oldest: 2022-10-18 09:40:35 -0600
    Newest: 2022-10-18 16:27:13 -0600
    
    ### Status report information ###
    
    Generated at: 2022-10-18 09:08:41 -06:00
    
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Invoice e-mail does not send’ is closed to new replies.