Title: PHP Error
Last modified: November 10, 2017

---

# PHP Error

 *  [tamhan](https://wordpress.org/support/users/tamhan/)
 * (@tamhan)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/php-error-254/)
 * Any idea what to do about this PHP error? I think it has been there since even
   before the last update. wp e-commerce 3.13.1, Gold cart 2.9.9
 * WordPress database error You have an error in your SQL syntax; check the manual
   that corresponds to your MariaDB server version for the right syntax to use near‘)
   ORDER BY `meta_value` ASC LIMIT 1′ at line 1 for query SELECT `post_id` FROM 
   wp_postmeta WHERE `meta_key` = ‘_wpsc_price’ AND `post_id` IN () ORDER BY `meta_value`
   ASC LIMIT 1 made by do_action(‘wp_ajax_update_product_price’), WP_Hook->do_action,
   WP_Hook->apply_filters, call_user_func_array, wpsc_update_product_price, wpsc_calculate_price

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-e-commerce_ebebeb.svg)
 * [WP eCommerce](https://wordpress.org/plugins/wp-e-commerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-e-commerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-e-commerce/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-e-commerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-e-commerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-e-commerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [tamhan](https://wordpress.org/support/users/tamhan/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/php-error-254/)
 * Status: not resolved