• Resolved MaaikeM

    (@maaikem)


    Hi, thanks for the update so far.

    I still get some errors in the confirmation emails that go with the orders. This would be no problem if they were only sent to me but my customers see the same errors in their confirmation email…

    Notice: payment_method_title werd verkeerd aangeroepen. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_API->handle_api_requests, do_action(‘woocommerce_api_mollie_wc_gateway_ideal’), WP_Hook->do_action, WP_Hook->apply_filters, Mollie_WC_Gateway_Abstract->webhookAction, Mollie_WC_Gateway_AbstractSepaRecurring->onWebhookPaid, Mollie_WC_Gateway_Abstract->onWebhookPaid, WC_Order->payment_complete, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_completed’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/plugins/woocommerce/templates/emails/admin-new-order.php’), do_action(‘woocommerce in /home/******/public_html/wp-includes/functions.php on line 4138

    Notice: payment_method_title werd verkeerd aangeroepen. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_API->handle_api_requests, do_action(‘woocommerce_api_mollie_wc_gateway_ideal’), WP_Hook->do_action, WP_Hook->apply_filters, Mollie_WC_Gateway_Abstract->webhookAction, Mollie_WC_Gateway_AbstractSepaRecurring->onWebhookPaid, Mollie_WC_Gateway_Abstract->onWebhookPaid, WC_Order->payment_complete, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_completed’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/plugins/woocommerce/templates/emails/admin-new-order.php’), do_action(‘woocommerce in /home/*******/public_html/wp-includes/functions.php on line 4138
    Betaal methode: iDEAL

    Notice: shipping_method_title werd verkeerd aangeroepen. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_API->handle_api_requests, do_action(‘woocommerce_api_mollie_wc_gateway_ideal’), WP_Hook->do_action, WP_Hook->apply_filters, Mollie_WC_Gateway_Abstract->webhookAction, Mollie_WC_Gateway_AbstractSepaRecurring->onWebhookPaid, Mollie_WC_Gateway_Abstract->onWebhookPaid, WC_Order->payment_complete, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_completed’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/plugins/woocommerce/templates/emails/admin-new-order.php’), do_action(‘woocommerc in /home/*******/public_html/wp-includes/functions.php on line 4138

    Please help. Thanks in advance. I use Woocommerce 3.0.7 and I am afraid to update any further.
    Maaike

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor davdebcom

    (@davdebcom)

    Hi Maaike

    Thanks for reaching out!

    Is it possible you have custom code for WooCommerce anywhere in your site? For example in the theme’s function.php file? Or did you change WooCommerce templates for that site?

    Specifically check:
    /plugins/woocommerce/templates/emails/admin-new-order.php
    /wp-includes/functions.php

    Kind regards
    David

    • This reply was modified 8 years, 10 months ago by davdebcom.
    Thread Starter MaaikeM

    (@maaikem)

    Yes I have a little bit of css on my site added via customizer

    .product.woocommerce {
    border: 0 !important;
    }

    body.woocommerce span.onsale,
    body.woocommerce-page span.onsale {
    display: none;
    }

    .woocommerce-message, .woocommerce-info { display:none; }

    Thread Starter MaaikeM

    (@maaikem)

    Oh I see what you mean. I have email templates that have been overwritten by the website theme. I’m no good at these templates. Are the errors coming from the email templates?

    Plugin Contributor davdebcom

    (@davdebcom)

    Hi MaaikeM,

    Yes, it seems your theme is not compatible with WooCommerce 3.0 and is calling information like the payment method in the old format. The first thing you should to is contact the theme developer/check the site and find out if they have released an update that does support WooCommerce 3.0.

    If that hasn’t happened, you could instruct your developer to make the changes, or if you have enough PHP experience you could do this yourself.

    If I am wrong and this is not the solution to your issue, feel free to let me know so we can continue our research.

    Kind regards
    David

    Thread Starter MaaikeM

    (@maaikem)

    Hi David,

    The strange thing is that these errors are displaying only in the emails sent by woocommerce. How is that possible? I never changed email templates and there is no more php regarding woocommerce in functions.php

    I use Genesis and updated everything. Genesis is a good theme I believe and optimized for woocommerce. I don’t see how the theme could cause these errors.

    Kind regards, Maaike

    Plugin Contributor davdebcom

    (@davdebcom)

    Hi MaaikeM

    The strange thing is that these errors are displaying only in the emails sent by woocommerce. How is that possible?

    That’s not so strange, it just likely means that the functions are called in the email template.

    I use Genesis and updated everything. Genesis is a good theme I believe and optimized for woocommerce. I don’t see how the theme could cause these errors.

    No theme had 100% support for WooCommerce 3.0, because when those themes where developed nobody knew what would change in WooCommerce 3.0. You can see here that Genesis is also updating there themes to support WooCommerce 3.0.
    https://genesiswp.guide/2017-04-30/

    Did you check your theme to see if WooCommerce templates are overwritten?

    Greetings
    David

    Thread Starter MaaikeM

    (@maaikem)

    Hi David,

    I’ve contacted Genesis about this and I’ll keep you in the loop.

    Kind regards,

    Maaike

    Plugin Contributor davdebcom

    (@davdebcom)

    Thank you!

    Something you could test: do you also gt the issue with other (non-Mollie) payment methods in the site?

    Thread Starter MaaikeM

    (@maaikem)

    By following this guide:

    https://woocommerce.wordpress.com/2017/01/17/deprecation-in-woocommerce-core/

    I managed to get the errors out of the emails and into the log πŸ™‚

    Kind regards, Maaike

    Plugin Contributor davdebcom

    (@davdebcom)

    You’ll still need to fix them πŸ™‚

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Still some errors after update’ is closed to new replies.