• Resolved tuomonurkkala

    (@tuomonurkkala)


    Hi there!
    I am having alot of trouble with your plugin. I have two websites in multisite and I downloaded your plugin to test how your plugin works with my sites.

    Here are some error logs from woocommerce:

    2022-12-06T07:23:01+00:00 CRITICAL Uncaught TypeError: current(): Argument #1 ($array) must be of type array, bool given in /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-items.php:99
    Stack trace:
    #0 /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-items.php(99): current()
    #1 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(1408): include('/home2/sukkiane...')
    #2 /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-details.php(165): YayMail\MailBuilder\Shortcodes->ordetItemTables()
    #3 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(1669): include('/home2/sukkiane...')
    #4 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(1213): YayMail\MailBuilder\Shortcodes->orderItems()
    #5 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(364): YayMail\MailBuilder\Shortcodes->collectOrderData()
    #6 /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/single-mail-template.php(108): YayMail\MailBuilder\Shortcodes->shortCodesOrderDefined()
    #7 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home2/sukkiane...')
    #8 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template()
    #9 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(134): wc_get_template_html()
    #10 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(574): WC_Email_New_Order->get_content_html()
    #11 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(111): WC_Email->get_content()
    #12 /home2/sukkianet/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php(502): WC_Email_New_Order->trigger()
    #13 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(310): WCML_Emails->new_order_admin_email()
    #14 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #15 /home2/sukkianet/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
    #16 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array()
    #17 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(308): WC_Emails::send_transactional_email()
    #18 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #19 /home2/sukkianet/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #20 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(396): do_action()
    #21 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(245): WC_Order->status_transition()
    #22 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(143): WC_Order->save()
    #23 /home2/sukkianet/public_html/wp-content/plugins/woocommerce_payment_module-2.2.4/includes/class-wc-gateway-maksuturva.php(915): WC_Order->payment_complete()
    #24 /home2/sukkianet/public_html/wp-content/plugins/woocommerce_payment_module-2.2.4/includes/class-wc-gateway-maksuturva.php(772): WC_Gateway_Maksuturva->order_complete()
    #25 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(308): WC_Gateway_Maksuturva->check_response()
    #26 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #27 /home2/sukkianet/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #28 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action()
    #29 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(308): WC_API->handle_api_requests()
    #30 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #31 /home2/sukkianet/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
    #32 /home2/sukkianet/public_html/wp-includes/class-wp.php(399): do_action_ref_array()
    #33 /home2/sukkianet/public_html/wp-includes/class-wp.php(780): WP->parse_request()
    #34 /home2/sukkianet/public_html/wp-includes/functions.php(1332): WP->main()
    #35 /home2/sukkianet/public_html/wp-blog-header.php(16): wp()
    #36 /home2/sukkianet/public_html/index.php(17): require('/home2/sukkiane...')
    #37 {main}
      thrown t?ss? /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-items.php rivill? 99
    
    2022-12-06T08:00:39+00:00 CRITICAL Uncaught TypeError: current(): Argument #1 ($array) must be of type array, bool given in /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-items.php:99
    Stack trace:
    #0 /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-items.php(99): current()
    #1 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(1408): include('/home2/sukkiane...')
    #2 /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-details.php(165): YayMail\MailBuilder\Shortcodes->ordetItemTables()
    #3 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(1669): include('/home2/sukkiane...')
    #4 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(1213): YayMail\MailBuilder\Shortcodes->orderItems()
    #5 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(364): YayMail\MailBuilder\Shortcodes->collectOrderData()
    #6 /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/single-mail-template.php(108): YayMail\MailBuilder\Shortcodes->shortCodesOrderDefined()
    #7 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home2/sukkiane...')
    #8 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template()
    #9 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(159): wc_get_template_html()
    #10 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(574): WC_Email_Customer_Invoice->get_content_html()
    #11 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(139): WC_Email->get_content()
    #12 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(374): WC_Email_Customer_Invoice->trigger()
    #13 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(137): WC_Emails->customer_invoice()
    #14 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(308): WC_Meta_Box_Order_Actions::save()
    #15 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #16 /home2/sukkianet/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #17 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(277): do_action()
    #18 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(310): WC_Admin_Meta_Boxes->save_meta_boxes()
    #19 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #20 /home2/sukkianet/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #21 /home2/sukkianet/public_html/wp-includes/post.php(4717): do_action()
    #22 /home2/sukkianet/public_html/wp-includes/post.php(4819): wp_insert_post()
    #23 /home2/sukkianet/public_html/wp-admin/includes/post.php(426): wp_update_post()
    #24 /home2/sukkianet/public_html/wp-admin/post.php(227): edit_post()
    #25 {main}
      thrown t?ss? /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-items.php rivill? 99
    
    2022-12-06T08:00:57+00:00 CRITICAL Uncaught TypeError: current(): Argument #1 ($array) must be of type array, bool given in /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-items.php:99
    Stack trace:
    #0 /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-items.php(99): current()
    #1 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(1408): include('/home2/sukkiane...')
    #2 /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-details.php(165): YayMail\MailBuilder\Shortcodes->ordetItemTables()
    #3 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(1669): include('/home2/sukkiane...')
    #4 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(1213): YayMail\MailBuilder\Shortcodes->orderItems()
    #5 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(364): YayMail\MailBuilder\Shortcodes->collectOrderData()
    #6 /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/single-mail-template.php(108): YayMail\MailBuilder\Shortcodes->shortCodesOrderDefined()
    #7 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home2/sukkiane...')
    #8 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template()
    #9 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(159): wc_get_template_html()
    #10 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(574): WC_Email_Customer_Invoice->get_content_html()
    #11 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(139): WC_Email->get_content()
    #12 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(374): WC_Email_Customer_Invoice->trigger()
    #13 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(137): WC_Emails->customer_invoice()
    #14 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(308): WC_Meta_Box_Order_Actions::save()
    #15 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #16 /home2/sukkianet/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #17 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(277): do_action()
    #18 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(310): WC_Admin_Meta_Boxes->save_meta_boxes()
    #19 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #20 /home2/sukkianet/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #21 /home2/sukkianet/public_html/wp-includes/post.php(4717): do_action()
    #22 /home2/sukkianet/public_html/wp-includes/post.php(4819): wp_insert_post()
    #23 /home2/sukkianet/public_html/wp-admin/includes/post.php(426): wp_update_post()
    #24 /home2/sukkianet/public_html/wp-admin/post.php(227): edit_post()
    #25 {main}
      thrown t?ss? /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-items.php rivill? 99
    
    2022-12-06T08:01:20+00:00 CRITICAL Uncaught TypeError: current(): Argument #1 ($array) must be of type array, bool given in /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-items.php:99
    Stack trace:
    #0 /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-items.php(99): current()
    #1 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(1408): include('/home2/sukkiane...')
    #2 /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-details.php(165): YayMail\MailBuilder\Shortcodes->ordetItemTables()
    #3 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(1669): include('/home2/sukkiane...')
    #4 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(1213): YayMail\MailBuilder\Shortcodes->orderItems()
    #5 /home2/sukkianet/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(364): YayMail\MailBuilder\Shortcodes->collectOrderData()
    #6 /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/single-mail-template.php(108): YayMail\MailBuilder\Shortcodes->shortCodesOrderDefined()
    #7 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home2/sukkiane...')
    #8 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template()
    #9 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(134): wc_get_template_html()
    #10 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(574): WC_Email_New_Order->get_content_html()
    #11 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(111): WC_Email->get_content()
    #12 /home2/sukkianet/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php(502): WC_Email_New_Order->trigger()
    #13 /home2/sukkianet/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php(595): WCML_Emails->new_order_admin_email()
    #14 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(310): WCML_Emails->backend_new_order_admin_email()
    #15 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #16 /home2/sukkianet/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #17 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(149): do_action()
    #18 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(308): WC_Meta_Box_Order_Actions::save()
    #19 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #20 /home2/sukkianet/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #21 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(277): do_action()
    #22 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(310): WC_Admin_Meta_Boxes->save_meta_boxes()
    #23 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #24 /home2/sukkianet/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #25 /home2/sukkianet/public_html/wp-includes/post.php(4717): do_action()
    #26 /home2/sukkianet/public_html/wp-includes/post.php(4819): wp_insert_post()
    #27 /home2/sukkianet/public_html/wp-admin/includes/post.php(426): wp_update_post()
    #28 /home2/sukkianet/public_html/wp-admin/post.php(227): edit_post()
    #29 {main}
      thrown t?ss? /home2/sukkianet/public_html/wp-content/plugins/yaymail/views/templates/emails/email-order-items.php rivill? 99

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

Viewing 5 replies - 16 through 20 (of 20 total)
Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘CRITICAL Uncaught TypeError’ is closed to new replies.