• Resolved gostomek

    (@gostomek)


    Hello,

    I got below error when I set order as completed.

    How Can I solve it?

    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-new-order.php:126
    WC_Email_New_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-new-order.php:111
    WC_Email_New_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:172
    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:768
    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
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @gostomek ,

    Thanks for reaching out!

    We deeply apologize for any inconveniences.

    Let me check this with the dev unit and feed you back as soon as possible, please.

    Also, could you please reach out technical support via?https://yaycommerce.com/support/? Then our dev can check further on that. We look forward to hearing back from you.

    Thank you,

    Daisy

    Plugin Support mialewp

    (@mialewp)

    Hi?@gostomek?,

    Good day!

    Have you figured the issue out yet? If not, please reach out to technical support team via ?https://yaycommerce.com/support/. We would like to check further on that and fix it for you as quick as we can.

    Looking forward to hearing back from you.

    Many thanks!

    Mia

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Uncaught Error’ is closed to new replies.