Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error when trying to send email. #732

Closed
miriksbm opened this issue Nov 1, 2022 · 1 comment
Closed

Fatal error when trying to send email. #732

miriksbm opened this issue Nov 1, 2022 · 1 comment

Comments

@miriksbm
Copy link

miriksbm commented Nov 1, 2022

PHP : 8.0
Plugin : 7.3.3
WooCommerce : 7.0.0

Fatal error: Uncaught TypeError: Mollie\WooCommerce\Gateway\MolliePaymentGateway::displayInstructions(): Argument #2 ($admin_instructions) must be of type bool, null given, called in /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php on line 309 and defined in /var/www/commust-upahuire/wordpress/current/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/MolliePaymentGateway.php:807 Stack trace: #0 /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php(309): Mollie\WooCommerce\Gateway\MolliePaymentGateway->displayInstructions() #1 /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #2 /var/www/commust-upahuire/wordpress/current/wp-includes/plugin.php(476): WP_Hook->do_action() #3 /var/www/commust-upahuire/wordpress/current/wp-content/plugins/woocommerce/templates/emails/email-order-details.php(90): do_action() #4 /var/www/commust-upahuire/wordpress/current/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...') #5 /var/www/commust-upahuire/wordpress/current/wp-content/plugins/woocommerce/includes/class-wc-emails.php(421): wc_get_template() #6 /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php(307): WC_Emails->order_details() #7 /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #8 /var/www/commust-upahuire/wordpress/current/wp-includes/plugin.php(476): WP_Hook->do_action() #9 /var/www/commust-upahuire/wordpress/current/wp-content/plugins/woocommerce/templates/emails/admin-new-order.php(35): do_action() #10 /var/www/commust-upahuire/wordpress/current/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...') #11 /var/www/commust-upahuire/wordpress/current/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template() #12 /var/www/commust-upahuire/wordpress/current/wp-content/themes/relevance-online-child/woocommerce/class-wc-transit-order-email.php(85): wc_get_template_html() #13 /var/www/commust-upahuire/wordpress/current/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(574): WC_Transit_Order_Email->get_content_html() #14 /var/www/commust-upahuire/wordpress/current/wp-content/themes/relevance-online-child/woocommerce/class-wc-transit-order-email.php(68): WC_Email->get_content() #15 /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php(307): WC_Transit_Order_Email->trigger() #16 /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #17 /var/www/commust-upahuire/wordpress/current/wp-includes/plugin.php(524): WP_Hook->do_action() #18 /var/www/commust-upahuire/wordpress/current/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array() #19 /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php(307): WC_Emails::send_transactional_email() #20 /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #21 /var/www/commust-upahuire/wordpress/current/wp-includes/plugin.php(476): WP_Hook->do_action() #22 /var/www/commust-upahuire/wordpress/current/wp-content/plugins/woocommerce/includes/class-wc-order.php(373): do_action() #23 /var/www/commust-upahuire/wordpress/current/wp-content/plugins/woocommerce/includes/class-wc-order.php(222): WC_Order->status_transition() #24 /var/www/commust-upahuire/wordpress/current/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php(671): WC_Order->save() #25 /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php(309): WC_Meta_Box_Order_Data::save() #26 /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #27 /var/www/commust-upahuire/wordpress/current/wp-includes/plugin.php(476): WP_Hook->do_action() #28 /var/www/commust-upahuire/wordpress/current/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(277): do_action() #29 /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php(309): WC_Admin_Meta_Boxes->save_meta_boxes() #30 /var/www/commust-upahuire/wordpress/current/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #31 /var/www/commust-upahuire/wordpress/current/wp-includes/plugin.php(476): WP_Hook->do_action() #32 /var/www/commust-upahuire/wordpress/current/wp-includes/post.php(4673): do_action() #33 /var/www/commust-upahuire/wordpress/current/wp-includes/post.php(4775): wp_insert_post() #34 /var/www/commust-upahuire/wordpress/current/wp-admin/includes/post.php(426): wp_update_post() #35 /var/www/commust-upahuire/wordpress/current/wp-admin/post.php(227): edit_post() #36 {main} thrown in /var/www/commust-upahuire/wordpress/current/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/MolliePaymentGateway.php on line 807

@InpsydeNiklas
Copy link
Collaborator

Hi @miriksbm, Could you please check if this error persists for you with the latest version?
If it does, please get in touch with the support team from here with a link to this issue: https://mollie.inpsyde.com/docs/request-support/
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants