Title: Error PHP after Update
Last modified: July 27, 2022

---

# Error PHP after Update

 *  [jackdri](https://wordpress.org/support/users/jackdri/)
 * (@jackdri)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-php-after-update/)
 * Got error ‘PHP message: WordPress errore sul database 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 ‘-di-carico as wpf_var_temp ON (wpf_var_temp.
   id=wp_posts.ID) LEFT JOIN wp_wpf_…’ at line 3 per la query CREATE TEMPORARY TABLE`
   wpf_temp_table_wpf_filter_altezza-di-carico` (index my_pkey (id)) AS \n\t\t\tSELECT
   wp_posts.ID\n\t\t\tFROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.
   ID = wp_term_relationships.object_id) LEFT JOIN wp_term_relationships AS tt1 
   ON (wp_posts.ID = tt1.object_id) LEFT JOIN wp_wc_product_meta_lookup wc_product_meta_lookup
   ON wp_posts.ID = wc_product_meta_lookup.product_id LEFT JOIN wpf_temp_var_table_wpf_filter_altezza-
   di-carico as wpf_var_temp ON (wpf_var_temp.id=wp_posts.ID) LEFT JOIN wp_wpf_meta_data
   as wpf_pr_type_1 ON (wpf_pr_type_1.product_id=wp_posts.ID AND wpf_pr_type_1.key_id
   =1)\n\t\t\tWHERE 1=1 AND ( \n ( \n wp_posts.ID NOT IN (\n\t\t\t\tSELECT object_id\
   n\t\t\t\tFROM wp_term_relationships\n…PHP message: WordPress errore sul database
   Incorrect table name ‘(\n\t\t\tSELECT wp_posts.ID\n\t\t\tFROM wp_posts LEFT JOIN
   wp_term_relationships ON (wp_posts.ID = wp_ter’ per la query SELECT DISTINCT 
   tr.term_taxonomy_id, tt.term_id, tt.taxonomy, tt.parent FROM `(\n\t\t\tSELECT
   wp_posts.ID\n\t\t\tFROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.
   ID = wp_term_relationships.object_id) LEFT JOIN wp_term_relationships AS tt1 
   ON (wp_posts.ID = tt1.object_id) LEFT JOIN wp_wc_product_meta_lookup wc_product_meta_lookup
   ON wp_posts.ID = wc_product_meta_lookup.product_id LEFT JOIN wpf_temp_var_table_wpf_filter_altezza-
   di-carico as wpf_var_temp ON (wpf_var_temp.id=wp_posts.ID) LEFT JOIN wp_wpf_meta_data
   as wpf_pr_type_1 ON (wpf_pr_type_1.product_id=wp_posts.ID AND wpf_pr_type_1.key_id
   =1)\n\t\t\tWHERE 1=1 AND ( \n ( \n wp_posts.ID NOT IN (\n\t\t\t\tSELECT object_id\
   n\t\t\t\tFROM wp_term_relationships\n\t\t\t\tWHERE term_taxonomy_id IN (7)\n\
   t\t\t)\n ) \n AND \n ( \n wp_term_relationships.term_taxonomy_id IN (15,118)\
   n ) \n A…'”

Viewing 1 replies (of 1 total)

 *  Plugin Author [WBW Plugins](https://wordpress.org/support/users/woobewoo/)
 * (@woobewoo)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-php-after-update/#post-15863504)
 * Hi!
 * Did you update to the latest version of Product Filter by WooBeWoo?
    As we fixed
   this issue in the last (2.1.6) version of plugin
 * if you have 2.1.6 plugin version and an issue still appear, contact us [https://woobewoo.com/contact-us/](https://woobewoo.com/contact-us/)
   
   with the website URL with product filter plugin and theme you’re using

Viewing 1 replies (of 1 total)

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

 * ![](https://s.w.org/plugins/geopattern-icon/woo-product-filter_a0a6df.svg)
 * [Product Filter for WooCommerce by WBW](https://wordpress.org/plugins/woo-product-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-filter/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [product filter](https://wordpress.org/support/topic-tag/product-filter/)
 * [woo](https://wordpress.org/support/topic-tag/woo/)

 * 1 reply
 * 2 participants
 * Last reply from: [WBW Plugins](https://wordpress.org/support/users/woobewoo/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/error-php-after-update/#post-15863504)
 * Status: not resolved