• Resolved gostomek

    (@gostomek)


    Hello,

    I have a problem with this plugin.

    Message appear when I tried to set the order as Canceled.

    Fatal error: Uncaught Error: method_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given
    in /home/rbhitvyeyy/domains/urokporcelany.pl/public_html/wp-content/plugins/email-customizer-for-woocommerce/views/templates/emails/email-order-items.php on line 175
    
    Call stack:
    
    method_exists()
    wp-content/plugins/email-customizer-for-woocommerce/views/templates/emails/email-order-items.php:175
    include()
    wp-content/plugins/email-customizer-for-woocommerce/includes/MailBuilder/Shortcodes.php:2002
    YayMail\MailBuilder\Shortcodes::ordetItemTables()
    wp-content/plugins/email-customizer-for-woocommerce/views/templates/emails/email-order-details.php:163
    include()
    wp-content/plugins/email-customizer-for-woocommerce/includes/MailBuilder/Shortcodes.php:2278
    YayMail\MailBuilder\Shortcodes::orderItems()
    wp-content/plugins/email-customizer-for-woocommerce/includes/MailBuilder/Shortcodes.php:1694
    YayMail\MailBuilder\Shortcodes::collectOrderData()
    wp-content/plugins/email-customizer-for-woocommerce/includes/MailBuilder/Shortcodes.php:520
    YayMail\MailBuilder\Shortcodes::shortCodesOrderDefined()
    wp-content/plugins/email-customizer-for-woocommerce/views/templates/single-mail-template.php:142
    include()
    wp-content/plugins/woocommerce/includes/wc-core-functions.php:345
    wc_get_template()
    wp-content/plugins/woocommerce/includes/wc-core-functions.php:364
    wc_get_template_html()
    wp-content/plugins/woocommerce/includes/emails/class-wc-email-cancelled-order.php:105
    WC_Email_Cancelled_Order::get_content_html()
    wp-content/plugins/woocommerce/includes/emails/class-wc-email.php:588
    WC_Email::get_content()
    wp-content/plugins/woocommerce/includes/emails/class-wc-email-cancelled-order.php:93
    WC_Email_Cancelled_Order::trigger()
    wp-includes/class-wp-hook.php:324
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
    WP_Hook::do_action()
    wp-includes/plugin.php:565
    do_action_ref_array()
    wp-content/plugins/woocommerce/includes/class-wc-emails.php:170
    WC_Emails::send_transactional_email()
    wp-includes/class-wp-hook.php:324
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-content/plugins/woocommerce/includes/class-wc-order.php:420
    WC_Order::status_transition()
    wp-content/plugins/woocommerce/includes/class-wc-order.php:253
    WC_Order::save()
    wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php:714
    WC_Meta_Box_Order_Data::save()
    wp-includes/class-wp-hook.php:326
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php:263
    WC_Admin_Meta_Boxes::save_meta_boxes()
    wp-includes/class-wp-hook.php:326
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-includes/post.php:4760
    wp_insert_post()
    wp-includes/post.php:4862
    wp_update_post()
    wp-admin/includes/post.php:453
    edit_post()
    wp-admin/post.php:227

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error when canceled order’ is closed to new replies.