Okay
  Public Ticket #1511906
order email notice... due to wordpress n theme incompatible
Closed

Comments

  •  2
    JC2016 started the conversation

    Hi, I received an notice in my order email which had never happened before. I suspect it is due to the wordpress update and the theme not catching up that caused it to have this update.

    This is what I had:

    Notice: payment_method_title was called
    incorrectly. 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_wc_gateway_paypal'), WP_Hook->do_action,
    WP_Hook->apply_filters, WC_Gateway_Paypal_IPN_Handler->check_response,
    do_action('valid-paypal-standard-ipn-request'), WP_Hook->do_action,
    WP_Hook->apply_filters, WC_Gateway_Paypal_IPN_Handler->valid_response,
    WC_Gateway_Paypal_IPN_Handler->payment_status_completed,
    WC_Gateway_Paypal_Response->payment_complete,
    WC_Order->payment_complete, WC_Order->save,
    WC_Order->status_transition,
    do_action('woocommerce_order_status_pending_to_processing'),
    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_conten in
    /home2/juneberr/public_html/store/wp-includes/functions.php on
    line 4147


    Hope you can assist. Many thanks in advance.


  •  1,559
    Laborator replied

    Hi there,

    These are thrown when an extension is not WooCommerce 3.0 compatible. Notices can be hidden in production until updates are available.

    Make sure you are not using old plugins which have not been updated for a long time. I have disabled the WP_DEBUG so now these errors and warnings shouldn't show.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  2
    JC2016 replied

    Hi, Good day to you. Once again my email had this error message again. Pls see screenshot. Can I check how can I hide this message? Also is the theme up-to-date with current wordpress?


    Many thanks in advance.

  •  1,559
    Laborator replied

    Hi there,

    I have explained why these problems show in my last reply, but didn't get a reply back from you. Are you using any plugin which is outdated and needs to be updated? 

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group