Error in your SQL syntax
-
Since I am using this plugin, I have an error in the php log file:
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 ‘order ASC’ at line 8 for query SELECT * ,(SELECT GROUP_CONCAT( psl0_tb.related_item_id ORDER BY psl0_tb.weight ASC SEPARATOR “,” ) FROM
wp_podsrel
AS psl0_tb WHERE psl0_tb.pod_id = “294” AND psl0_tb.field_id = “300” AND psl0_tb.item_id = pod_tb.id GROUP BY psl0_tb.item_id) AS media FROMwp_pods_product_photo
AS pod_tb WHERE 1=1 ANDpandarf_parent_pod_id
= 265 ANDpandarf_parent_post_id
= 633 ANDpandarf_pod_field_id
= 301 ORDER BY order ASC made by wp_trash_post, wp_update_post, wp_insert_post, apply_filters(‘wp_insert_post_data’), WP_Hook->apply_filters, PodsMeta->save_post_track_changed_fields, PodsAPI::handle_changed_fields, Pods->export, PodsAPI->export_pod_item, PodsAPI->export_pod_item_level, Pods->field, apply_filters(‘pods_pods_field’), WP_Hook->apply_filters, pandarf_pods_field_fn, pandarf_items_fn
- The topic ‘Error in your SQL syntax’ is closed to new replies.