Quote from MG on January 26, 2021, 10:01
Hi.
Unfortunately I receive the following error in the debug mode. At first I have asked the WPML Support, because for me it seems it has something to do with the WPML Plugin, but they said it is because the WOOBE Plugin. Can you help here?
The error is:
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 db_posts.ID DESC LIMIT 0, 10' at line 3 für Abfrage SELECT SQL_CALC_FOUND_ROWS db_posts.ID FROM db_posts LEFT JOIN db_icl_translations wpml_translations
ON db_posts.ID = wpml_translations.element_id
AND wpml_translations.element_type = CONCAT('post_', db_posts.post_type) WHERE 1=1 AND db_posts.post_type = 'product' AND ((db_posts.post_status = 'publish' OR db_posts.post_status = 'draft' OR db_posts.post_status = 'pending' OR db_posts.post_status = 'private')) AND ( ( ( wpml_translations.language_code = 'de' OR 0 ) AND db_posts.post_type IN ('post','page','attachment','wp_block','product','product_variation','shop_order_refund','wpcf7_contact_form','portfolio','team','clients','testimonials','jobs','faqs','whatsapp-accounts' ) ) OR db_posts.post_type NOT IN ('post','page','attachment','wp_block','product','product_variation','shop_order_refund','wpcf7_contact_form','portfolio','team','clients','testimonials','jobs','faqs','whatsapp-accounts' ) ) AND ( ) ORDER BY db_posts.ID DESC LIMIT 0, 10 von do_action('wp_ajax_woobe_get_products'), WP_Hook->do_action, WP_Hook->apply_filters, WOOBE->woobe_get_products, WOOBE_PRODUCTS->gets, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
Hi.
Unfortunately I receive the following error in the debug mode. At first I have asked the WPML Support, because for me it seems it has something to do with the WPML Plugin, but they said it is because the WOOBE Plugin. Can you help here?
The error is:
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 db_posts.ID DESC LIMIT 0, 10' at line 3 für Abfrage SELECT SQL_CALC_FOUND_ROWS db_posts.ID FROM db_posts LEFT JOIN db_icl_translations wpml_translations
ON db_posts.ID = wpml_translations.element_id
AND wpml_translations.element_type = CONCAT('post_', db_posts.post_type) WHERE 1=1 AND db_posts.post_type = 'product' AND ((db_posts.post_status = 'publish' OR db_posts.post_status = 'draft' OR db_posts.post_status = 'pending' OR db_posts.post_status = 'private')) AND ( ( ( wpml_translations.language_code = 'de' OR 0 ) AND db_posts.post_type IN ('post','page','attachment','wp_block','product','product_variation','shop_order_refund','wpcf7_contact_form','portfolio','team','clients','testimonials','jobs','faqs','whatsapp-accounts' ) ) OR db_posts.post_type NOT IN ('post','page','attachment','wp_block','product','product_variation','shop_order_refund','wpcf7_contact_form','portfolio','team','clients','testimonials','jobs','faqs','whatsapp-accounts' ) ) AND ( ) ORDER BY db_posts.ID DESC LIMIT 0, 10 von do_action('wp_ajax_woobe_get_products'), WP_Hook->do_action, WP_Hook->apply_filters, WOOBE->woobe_get_products, WOOBE_PRODUCTS->gets, WP_Query->__construct, WP_Query->query, WP_Query->get_posts