Title: PHP Errors with new version
Last modified: July 7, 2017

---

# PHP Errors with new version

 *  [mborin](https://wordpress.org/support/users/mborin/)
 * (@mborin)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/php-errors-with-new-version/)
 * I’m getting a ton of PHP error in my log since the new update:
 * WordPress database error You have an error in your SQL syntax; check the manual
   that corresponds to your MySQL server version for the right syntax to use near‘
   AND comment_type != ‘webhook_delivery’ ORDER BY comment_date_gmt DESC LIMIT 1′
   at line 1 for query SELECT wp_comments.* FROM wp_comments AND comment_type !=‘
   webhook_delivery’ ORDER BY comment_date_gmt DESC LIMIT 10 made by require(‘wp-
   blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->
   get_posts
 * id was called incorrectly. Order properties should not be accessed directly. 
   Backtrace: do_action(‘wp_ajax_woocommerce_refund_line_items’), WP_Hook->do_action,
   WP_Hook->apply_filters, call_user_func_array, WC_AJAX::refund_line_items, wc_create_refund,
   do_action(‘woocommerce_order_partially_refunded’), WP_Hook->do_action, WP_Hook-
   >apply_filters, call_user_func_array, WC_Emails::send_transactional_email, do_action_ref_array,
   WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Email_Customer_Refunded_Order-
   >trigger_partial, WC_Email_Customer_Refunded_Order->trigger, WC_Email->get_content,
   WC_Email_Customer_Refunded_Order->get_content_html, wc_get_template_html, wc_get_template,
   include(‘/plugins/woocommerce/templates/emails/customer-refunded-order.php’),
   do_action(‘woocommerce_email_order_meta’), WP_Hook->do_action, WP_Hook->apply_filters,
   call_user_func_array, WF_Tracking_Admin_FedEx->wf_add_tracking_info_to_email,
   WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in
   version 3.0.

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

 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/php-errors-with-new-version/#post-9297968)
 * [https://github.com/woocommerce/woocommerce/pull/15862](https://github.com/woocommerce/woocommerce/pull/15862)
 *  [makeonlineshops](https://wordpress.org/support/users/makeonlineshops/)
 * (@makeonlineshops)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/php-errors-with-new-version/#post-9317447)
 * Hello, was this fixed in the latest version ? Thanks.

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

The topic ‘PHP Errors with new version’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [makeonlineshops](https://wordpress.org/support/users/makeonlineshops/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/php-errors-with-new-version/#post-9317447)
 * Status: not resolved